[Python-bugs-list] [ python-Bugs-482003 ] dict display broken in pprint
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 27 Nov 2001 21:49:44 -0800
Bugs item #482003, was opened at 2001-11-15 00:26
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=482003&group_id=5470
Category: Python Library
Group: Python 2.2
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Skip Montanaro (montanaro)
Assigned to: Barry Warsaw (bwarsaw)
Summary: dict display broken in pprint
Initial Comment:
pprint.PrettyPrinter.__format hoses display of multi-
line dicts. Instead of placing the ":" after the key,
it is placed before the key on continuation lines.
The attached patch fixes this bug and adds a test
case.
Barry, once you're done with this you might want
to reassign it to whoever is doing 2.1.2 in case this
bug is present there as well.
----------------------------------------------------------------------
>Comment By: Barry Warsaw (bwarsaw)
Date: 2001-11-27 21:49
Message:
Logged In: YES
user_id=12800
Applied to pprint.py 1.19 and test_pprint.py 1.7
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=482003&group_id=5470