[issue2888] pprint produces different output in 2.6 and 3.0
Fred L. Drake, Jr.
report at bugs.python.org
Thu May 29 06:59:27 CEST 2008
Fred L. Drake, Jr. <fdrake at acm.org> added the comment:
The version seen in py3k is the intended formatting; I don't remember
anything about a change, but given the time I've not had in following
commit messages and discussions, I could easily have missed something.
I'm strongly in favor of the output from the Python 3.0 version; the 2.6
version is silly, even if you're not already laughing at the indent
parameter.
(When I first wrote pprint, I was working with huge nested tuples, for
which I found the indentation control useful. Haven't used it since,
though I suspect that's the sort of thing that makes others try it out.)
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2888>
_______________________________________
More information about the Python-bugs-list
mailing list