[Python-Dev] (no subject)

Eric Snow ericsnowcurrently at gmail.com
Thu Apr 19 10:00:51 CEST 2012


How closely is tokenize.detect_encoding() supposed to match
PyTokenizer_FindEncoding()?  From what I can tell, there is a subtle
difference in their behavior that has bearing on PEP 263 handling
during import. [1]  Should any difference be considered a bug, or
should I work around it?  Thanks.

-eric


[1] http://www.python.org/dev/peps/pep-0263/


More information about the Python-Dev mailing list