➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 flox
收信人 ezio.melotti, flox, vstinner
日期 2012-06-06.23:11:30
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1339024292.96.0.455254610546.issue14990@psf.upfronthosting.co.za>
In-reply-to
内容
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:33flox修改recipients: + flox, vstinner, ezio.melotti
2012-06-06 23:11:32flox修改messageid: <1339024292.96.0.455254610546.issue14990@psf.upfronthosting.co.za>
2012-06-06 23:11:30flox链接issue14990 messages
2012-06-06 23:11:30flox创建