[issue2517] Error when printing an exception containing a Unicode string

Simon Cross report at bugs.python.org
Wed Jun 11 13:54:41 CEST 2008


Simon Cross <hodgestar at gmail.com> added the comment:

Attached a patch which implements Nick Coghlan's suggestion. All
existing tests in test_exceptions.py and test_unicode.py pass as does
the new unicode(Exception(u"\xe1")) test.

Added file: http://bugs.python.org/file10580/exception-unicode-with-type-fetch.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2517>
_______________________________________


More information about the Python-bugs-list mailing list