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

Ezio Melotti report at bugs.python.org
Thu Nov 12 06:22:51 CET 2009


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

I added the output of unicode_exceptions.py on Py2.6 and a testcase
(against the trunk) that fails for 5 different exceptions, including the
IOError mentioned in #6890 (also added to unicode_exceptions.py).
The problem has been introduced by #2517.

----------
keywords: +patch
priority: high -> release blocker
title: unicode(exception) behaves differently on Py2.6 when len(exception.args) > 1 -> unicode(exception) and str(exception) should return the same message on Py2.6
Added file: http://bugs.python.org/file15314/issue6108_testcase.diff

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


More information about the Python-bugs-list mailing list