Author vstinner
Recipients vstinner
Date 2008-10-02.23:00:31
SpamBayes Score 8.49623e-05
Marked as misclassified No
Message-id <1222988433.37.0.412294241613.issue4021@psf.upfronthosting.co.za>
In-reply-to
Content
tokenize.detect_encoding() raises a LookupError() if the charset is 
unknown whereas Python raises a SyntaxError. So this patch mimics 
Python behaviour for tokenize module.

Extra: reuse BOM_UTF8 from the codecs module.
History
Date User Action Args
2008-10-02 23:00:33vstinnersetrecipients: + vstinner
2008-10-02 23:00:33vstinnersetmessageid: <1222988433.37.0.412294241613.issue4021@psf.upfronthosting.co.za>
2008-10-02 23:00:32vstinnerlinkissue4021 messages
2008-10-02 23:00:32vstinnercreate