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 kathyvs
Recipients fdrake, kathyvs, markhirota, rhettinger
Date 2007-11-16.17:00:35
SpamBayes Score 0.16987756
Marked as misclassified No
Message-id <1195232436.53.0.282579666336.issue1373762@psf.upfronthosting.co.za>
In-reply-to
Content
I might be able to give a more compelling example (aside from the fact
wanting it to fit the documentation which implies that one can subclass
the pretty printer).  I had a structure containing mostly lists,
dictionary and primitives that I wanted to display, but it also
contained UUIDs. In order to be able to see what the UUID referred to, I
extended the pretty printer to lookup up the name associated with the
UUID and included that. I have it working now by keeping the width
narrow.  The patch listed here (moving the line length check inside
lists and dictionaries) doesn't entirely work as my altered
representation of a UUID is different enough from the original that the
calculation of line length is inaccurate.
History
Date User Action Args
2007-11-16 17:00:36kathyvssetspambayes_score: 0.169878 -> 0.16987756
recipients: + kathyvs, fdrake, rhettinger, markhirota
2007-11-16 17:00:36kathyvssetspambayes_score: 0.169878 -> 0.169878
messageid: <1195232436.53.0.282579666336.issue1373762@psf.upfronthosting.co.za>
2007-11-16 17:00:36kathyvslinkissue1373762 messages
2007-11-16 17:00:35kathyvscreate