Message212759
The "args" command in pdb crashes when an argument cannot be printed.
Fortunately, this is easy to fix.
For version 3.3.3:
In function Pdb.do_args (lib/pdb.py, line 1120)
Change line 1131
self.message('%s = %r' % (name, dict[name]))
to
try: r = repr(dict[name])
except: r = "(Cannot print object)"
self.message('%s = %s' % (name, r)) |
|
| Date |
User |
Action |
Args |
| 2014-03-05 10:45:57 | jneb | set | recipients:
+ jneb |
| 2014-03-05 10:45:57 | jneb | set | messageid: <1394016357.17.0.646134871451.issue20853@psf.upfronthosting.co.za> |
| 2014-03-05 10:45:56 | jneb | link | issue20853 messages |
| 2014-03-05 10:45:55 | jneb | create | |
|