消息 [73846]
ocean-city testcase is invalid: it uses subprocess.call() which
returns the exit code, not the Python error line number! Here is a
better testcase using subprocess.Popen() checking the line number but
also the display line. It tests ASCII, UTF-8 and GBK charsets. Using
GBK charset, you get the bug described by ocean-city (problem with
multibyte charset). My testcase takes also care of script with #
coding at the second line. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2008-09-26 12:51:42 | vstinner | 修改 | recipients:
+ vstinner, barry, pitrou, ocean-city, jmfauth, dlitz |
| 2008-09-26 12:51:42 | vstinner | 修改 | messageid: <1222433502.74.0.46409081711.issue2384@psf.upfronthosting.co.za> |
| 2008-09-26 12:51:41 | vstinner | 链接 | issue2384 messages |
| 2008-09-26 12:51:41 | vstinner | 创建 | |
|