Author serhiy.storchaka
Recipients Arfrever, benjamin.peterson, brett.cannon, eric.snow, loewis, serhiy.storchaka
Date 2013-09-07.15:35:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Here is a file which is accepted by Python interpreter but is rejected by the tokenize module.

$ ./python 
$ ./python -m tokenize error: invalid or missing encoding declaration for ''

Python itself checks that a line is UTF-8 encoded only if not found a magic comment. The tokenize module checks it before searching (issue14629).
Date User Action Args
2013-09-07 15:35:49serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, brett.cannon, benjamin.peterson, Arfrever, eric.snow
2013-09-07 15:35:49serhiy.storchakasetmessageid: <>
2013-09-07 15:35:49serhiy.storchakalinkissue18961 messages
2013-09-07 15:35:48serhiy.storchakacreate