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.

Author loewis
Recipients Arfrever, benjamin.peterson, brett.cannon, eric.snow, loewis, meador.inge, serhiy.storchaka, terry.reedy, vstinner
Date 2013-09-16.16:44:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1379349864.98.0.587148402272.issue18961@psf.upfronthosting.co.za>
In-reply-to
Content
Terry: the comment isn't self-contradictory. Instead, the file constitutes a perfectly fine iso-8859-15 byte sequence (albeit a meaningless one: any byte sequence is perfectly fine iso-8559-15, and, in a comment, any characters are allowed by the Python syntax).

AFAICT, the file also follows the wording of PEP 263, as it does not disallow additional text on the encoding line. Therefore, I think tokenize should accept the file.
History
Date User Action Args
2013-09-16 16:44:25loewissetrecipients: + loewis, brett.cannon, terry.reedy, vstinner, benjamin.peterson, Arfrever, meador.inge, eric.snow, serhiy.storchaka
2013-09-16 16:44:24loewissetmessageid: <1379349864.98.0.587148402272.issue18961@psf.upfronthosting.co.za>
2013-09-16 16:44:24loewislinkissue18961 messages
2013-09-16 16:44:24loewiscreate