[issue6108] unicode(exception) and str(exception) should return the same message on Py2.6

Antoine Pitrou report at bugs.python.org
Mon Dec 21 12:54:51 CET 2009


Antoine Pitrou <pitrou at free.fr> added the comment:

> I created a comprehensive set of tests to check all the possibilities
> that I listed in msg96319 and updated the patch for Object/exceptions.c.

Great!
Small thing: in tests, you should use setUp() to initialize test data
rather than __init__().

----------

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


More information about the Python-bugs-list mailing list