[issue20853] pdb "args" crashes when an arg is not printable
Jurjen N.E. Bos
report at bugs.python.org
Wed Mar 12 08:58:49 CET 2014
Jurjen N.E. Bos added the comment:
Thanks for your reaction.
The object is not printable, since I was debugging an __init__ of an object, and some fields where being initialized:
class foo:
def __init__(self):
foo.bar = "hello"
def repr(self): return foo.bar
I tried to make a useable patch file (with neater layout and using Exeption), see attach.
----------
keywords: +patch
Added file: http://bugs.python.org/file34369/pdb.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20853>
_______________________________________
More information about the Python-bugs-list
mailing list