[Python-Dev] support for encoding detection and PEP 263

Eric Snow ericsnowcurrently at gmail.com
Thu Apr 19 10:04:22 CEST 2012


Forgot the subject (going to bed now).

On Thu, Apr 19, 2012 at 2:00 AM, Eric Snow <ericsnowcurrently at gmail.com> wrote:
> 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