Message119364
| Author |
Vladimir Iofik |
| Recipients |
Dmitry.Jemerov, Vladimir Iofik, brian.curtin, eric.araujo, kaizhu, r.david.murray, vldmit |
| Date |
2010年10月22日.06:43:10 |
| SpamBayes Score |
2.4190644e-05 |
| Marked as misclassified |
No |
| Message-id |
<1287729792.57.0.434221828315.issue9291@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
UnicodeDecodeException is thrown because 'ctype' is already a string,
so it is first implicitly decoded by default encoder (which is 'ascii') and then reencoded back. I see no reason in all these actions, so I simply removed them. I think Antoine Pitrou (who is the author of these lines) can shed some light on this, but I guess it's just a copy-paste of the code below. |
|