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 afoglia
Recipients afoglia
Date 2009-12-04.16:32:41
SpamBayes Score 0.00254025
Marked as misclassified No
Message-id <1259944363.21.0.149882342014.issue7434@psf.upfronthosting.co.za>
In-reply-to
Content
It would be nice if pprint could format namedtuples wrapping lines as it
does with tuples.

Looking at the code, this does not look like an easy task.  Completely
rewriting pprint to allow it to be extensible to user-created classes
would be best, but involve a ton of work.  Simple making all named
tuples derive from a named tuple base class (itself derived from tuple)
would be simpler, albeit more of a hack.
History
Date User Action Args
2009-12-04 16:32:43afogliasetrecipients: + afoglia
2009-12-04 16:32:43afogliasetmessageid: <1259944363.21.0.149882342014.issue7434@psf.upfronthosting.co.za>
2009-12-04 16:32:41afoglialinkissue7434 messages
2009-12-04 16:32:41afogliacreate