消息 [162428]
It should raise a SyntaxError, if coding is 'utf8'.
I don't agree with the last patch proposed.
If the import report a SyntaxError, 'tokenize' should do the same.
$ ./python Lib/test/bad_coding2.py
File "Lib/test/bad_coding2.py", line 1
SyntaxError: encoding problem: utf-8
and it complies strictly with PEP263. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2012-06-06 23:11:33 | flox | 修改 | recipients:
+ flox, vstinner, ezio.melotti |
| 2012-06-06 23:11:32 | flox | 修改 | messageid: <1339024292.96.0.455254610546.issue14990@psf.upfronthosting.co.za> |
| 2012-06-06 23:11:30 | flox | 链接 | issue14990 messages |
| 2012-06-06 23:11:30 | flox | 创建 | |
|