Message162428
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. |
|
Date |
User |
Action |
Args |
2012-06-06 23:11:33 | flox | set | recipients:
+ flox, vstinner, ezio.melotti |
2012-06-06 23:11:32 | flox | set | messageid: <1339024292.96.0.455254610546.issue14990@psf.upfronthosting.co.za> |
2012-06-06 23:11:30 | flox | link | issue14990 messages |
2012-06-06 23:11:30 | flox | create | |
|