Message71397
| 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:39 | brett.cannon | set | recipients: + brett.cannon, christian.heimes |
| 2008-08-19 01:19:39 | brett.cannon | set | messageid: <1219108779.12.0.628146919019.issue3594@psf.upfronthosting.co.za> |
| 2008-08-19 01:19:38 | brett.cannon | link | issue3594 messages |
| 2008-08-19 01:19:37 | brett.cannon | create | |