[issue14629] discrepency between tokenize.detect_encoding() and PyTokenizer_FindEncodingFilename()

Martin v. Löwis report at bugs.python.org
Fri Apr 20 14:39:38 CEST 2012


Martin v. Löwis <martin at v.loewis.de> added the comment:

Thanks for the report. This is now fixed in 3.2 and default.

Notice that your usage tokenize is incorrect: you need to open the file in binary mode.

----------
resolution:  -> fixed
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14629>
_______________________________________


More information about the Python-bugs-list mailing list