[issue1284496] traceback module can return undecodable byte strings

2009-07-01 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc  added the comment:

Python 3.0 switched to unicode precisely for this kind of issues.
There, you get
'Traceback (most recent call last):\n  File "", line 3, in
\nValueError: Invalid value
b\'\\xff\\xfeh\\x00e\\x00l\\x00l\\x00o\\x00\'\n'

For python 2.x, it's up to the application to decide how it will convert
various tracebacks to unicode. The 'backslashreplace' encoding may help,
or you can use %r instead of %s.

--
nosy: +amaury.forgeotdarc
resolution:  -> wont fix
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1284496] traceback module can return undecodable byte strings

2009-03-20 Thread Daniel Diniz

Changes by Daniel Diniz :


--
components: +Unicode -None
priority: normal -> low
stage:  -> test needed
type:  -> behavior
versions: +Python 2.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com