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 dmalcolm
Recipients davidfraser, dmalcolm, gregory.p.smith, loewis
Date 2010-03-25.16:53:44
SpamBayes Score 3.9006327e-06
Marked as misclassified No
Message-id <1269536036.38.0.267324720685.issue8032@psf.upfronthosting.co.za>
In-reply-to
Content
I'm attaching a new version of the patch (v4), against svn trunk (r79422)

Changes since v3:
  * added support for PySetObject (set/frozenset)
  * added support for PyBaseExceptionObject (BaseException)
  * fixed a signed vs unsigned char issue that led to exceptions in gdb for PyStringObject instances containing bytes in the range 0x80-0xff
  * handle the case of loops in the object reference graph.  In previous versions, the gdb prettyprinter would get stuck in infinite recursion following the pointers.  The new version keeps track of the set of all pointers we've visited so far, stopping the traversal at object's we've already reached (analagous to Py_ReprEnter and Py_ReprLeave).
  * unit tests for all of the above (full test suite passes on my machine thus: "Ran 35 tests in 13.547s"; this is a Fedora 12 x86_64 box with gdb-7.0.1-33.fc12)
History
Date User Action Args
2010-03-25 16:53:56dmalcolmsetrecipients: + dmalcolm, loewis, gregory.p.smith, davidfraser
2010-03-25 16:53:56dmalcolmsetmessageid: <1269536036.38.0.267324720685.issue8032@psf.upfronthosting.co.za>
2010-03-25 16:53:54dmalcolmlinkissue8032 messages
2010-03-25 16:53:53dmalcolmcreate