Message74205
| Author | vstinner |
|---|---|
| Recipients | vstinner |
| Date | 2008-10-02.23:00:31 |
| SpamBayes Score | 8.496234e-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:33 | vstinner | set | recipients: + vstinner |
| 2008-10-02 23:00:33 | vstinner | set | messageid: <1222988433.37.0.412294241613.issue4021@psf.upfronthosting.co.za> |
| 2008-10-02 23:00:32 | vstinner | link | issue4021 messages |
| 2008-10-02 23:00:32 | vstinner | create | |