This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jneb
Recipients jneb
Date 2014-03-05.10:45:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394016357.17.0.646134871451.issue20853@psf.upfronthosting.co.za>
In-reply-to
Content
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))
History
Date User Action Args
2014-03-05 10:45:57jnebsetrecipients: + jneb
2014-03-05 10:45:57jnebsetmessageid: <1394016357.17.0.646134871451.issue20853@psf.upfronthosting.co.za>
2014-03-05 10:45:56jneblinkissue20853 messages
2014-03-05 10:45:55jnebcreate