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 ishimoto
Recipients gvanrossum, ishimoto, lemburg, loewis, nnorwitz
Date 2007-10-11.07:44:29
SpamBayes Score 0.24715015
Marked as misclassified No
Message-id <1192088669.94.0.457674661229.issue1031213@psf.upfronthosting.co.za>
In-reply-to
Content
Codecs would hardly ever raises exception here. 
Usually, exception raised here would be a MemoryError. The unicode 
string we are trying to encode is just decoded by same codec. If codec
raises exception other than MemoryError, the codec will likely have problem.

I attached a script to print exception raised by codec. I wrote a "buggy" 
encoder, which never return string but raises an exception.
Files
File name Uploaded
display_exception.py ishimoto, 2007-10-11.07:44:29
History
Date User Action Args
2007-10-11 07:44:30ishimotosetspambayes_score: 0.24715 -> 0.24715015
recipients: + ishimoto, lemburg, gvanrossum, loewis, nnorwitz
2007-10-11 07:44:29ishimotosetspambayes_score: 0.24715 -> 0.24715
messageid: <1192088669.94.0.457674661229.issue1031213@psf.upfronthosting.co.za>
2007-10-11 07:44:29ishimotolinkissue1031213 messages
2007-10-11 07:44:29ishimotocreate