This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brett.cannon
Recipients brett.cannon, christian.heimes
Date 2008-08-19.01:19:34
SpamBayes Score 7.791321e-05
Marked as misclassified No
Message-id <1219108779.12.0.628146919019.issue3594@psf.upfronthosting.co.za>
In-reply-to
Content
Turns out that PyTokenizer_FindEncoding() never properly succeeds
because the tok_state used by it does not have tok->filename set, which
is an error condition in the tokenizer. This error has been masked by
the one place the function is used, imp.find_module() because a NULL
return is never checked for an error, but instead just assumes the
default source encoding suffices.
History
Date User Action Args
2008-08-19 01:19:39brett.cannonsetrecipients: + brett.cannon, christian.heimes
2008-08-19 01:19:39brett.cannonsetmessageid: <1219108779.12.0.628146919019.issue3594@psf.upfronthosting.co.za>
2008-08-19 01:19:38brett.cannonlinkissue3594 messages
2008-08-19 01:19:37brett.cannoncreate