Martin v. Löwis added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18961>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to