[Python-Dev] (no subject) (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Thu Apr 19 12:28:39 CEST 2012


Am 19.04.2012 10:00, schrieb Eric Snow:

How closely is tokenize.detectencoding() supposed to match PyTokenizerFindEncoding()? 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.

If there is such a difference, it's a bug. The authority should be the PEP.

Regards, Martin



More information about the Python-Dev mailing list