Message95968
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. |
|
Date |
User |
Action |
Args |
2009-12-04 16:32:43 | afoglia | set | recipients:
+ afoglia |
2009-12-04 16:32:43 | afoglia | set | messageid: <1259944363.21.0.149882342014.issue7434@psf.upfronthosting.co.za> |
2009-12-04 16:32:41 | afoglia | link | issue7434 messages |
2009-12-04 16:32:41 | afoglia | create | |
|