[issue6108] unicode(exception) behaves differently on Py2.6 when len(exception.args) 1

2009-09-16 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- priority: high - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6108 ___ ___

[issue6108] unicode(exception) behaves differently on Py2.6 when len(exception.args) 1

2009-09-13 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Looks like a potentially annoying bug to me. -- nosy: +pitrou priority: - high stage: - needs patch versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6108

[issue6108] unicode(exception) behaves differently on Py2.6 when len(exception.args) 1

2009-09-12 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6108 ___ ___ Python-bugs-list

[issue6108] unicode(exception) behaves differently on Py2.6 when len(exception.args) 1

2009-09-12 Thread Jean-Paul Calderone
Jean-Paul Calderone exar...@divmod.com added the comment: Perhaps also worth noting is that in Python 2.4 as well, str(exception) and unicode(exception) returned the same thing. Unlike some other exception changes in 2.6, this doesn't seem to be a return to older behavior, but just a new

[issue6108] unicode(exception) behaves differently on Py2.6 when len(exception.args) 1

2009-05-25 Thread Ezio Melotti
New submission from Ezio Melotti ezio.melo...@gmail.com: On Python 2.5 str(exception) and unicode(exception) return the same text: err UnicodeDecodeError('ascii', '\xc3\xa0', 0, 1, 'ordinal not in range(128)') str(err) 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in