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 doerwalter
Recipients
Date 2005-11-16.18:29:19
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=89016

Here's your modified version as a patch against svn HEAD.
(Most of the patch is indentation changes. "svn diff
--diff-cmd diff -x -b Lib/pprint.py" gives this diff:

134d133
<         if sepLines:
154a154
>                         if sepLines:
155a156,157
>                         else:
>                             write(', %s: ' % rep)
180a183
>                         if sepLines:
181a185,186
>                         else:
>                             write(', ')
190d194
< 
192a197
>

The patch looks good, but it still has a problem that the
original pprint has: For each call to format() the object is
formatted twice, once to determine if it fits on one line
and once for the final output.
History
Date User Action Args
2007-08-23 16:11:30adminlinkissue1351692 messages
2007-08-23 16:11:30admincreate