[issue7539] unicode exceptions terminate pdb.pm() loop

Amaury Forgeot d'Arc report at bugs.python.org
Tue Dec 29 14:02:48 CET 2009


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

Here is a patch, along with the test that I modified a little bit:
- it uses _saferepr (and repr.Repr) to render the exception object
- it also fixes exception raised by the "p" action.
- The test uses a raw docstring, to avoid chr(255) in the string

----------
nosy: +amaury.forgeotdarc
Added file: http://bugs.python.org/file15693/pdb-unicode-exc.patch

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


More information about the Python-bugs-list mailing list