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 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.
History
Date User Action Args
2010-10-22 06:43:12Vladimir Iofiksetrecipients: + Vladimir Iofik, eric.araujo, kaizhu, r.david.murray, brian.curtin, Dmitry.Jemerov, vldmit
2010-10-22 06:43:12Vladimir Iofiksetmessageid: <1287729792.57.0.434221828315.issue9291@psf.upfronthosting.co.za>
2010-10-22 06:43:11Vladimir Iofiklinkissue9291 messages
2010-10-22 06:43:10Vladimir Iofikcreate