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/