[issue19132] Add compact mode to pprint

2014-07-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 60301b9982b2 by Terry Jan Reedy in branch '2.7': Issue #21597: Turtledemo text pane can now be widened to view or copy complete http://hg.python.org/cpython/rev/60301b9982b2 New changeset 0fb515063324 by Terry Jan Reedy in branch '3.4': Issue #21597

[issue19132] Add compact mode to pprint

2013-10-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6e7b1aadea2f by Serhiy Storchaka in branch 'default': Issue #19132: Add versionchanged tags. http://hg.python.org/cpython/rev/6e7b1aadea2f -- ___ Python tracker __

[issue19132] Add compact mode to pprint

2013-10-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I had added a what's new entry. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue19132] Add compact mode to pprint

2013-10-02 Thread R. David Murray
R. David Murray added the comment: Sorry I missed this on the review, but you are missing versionchanged tags (or versionadded, whichever you prefer :) and a what's new entry. -- ___ Python tracker ___

[issue19132] Add compact mode to pprint

2013-10-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue19132] Add compact mode to pprint

2013-10-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset ae0306c8f7a3 by Serhiy Storchaka in branch 'default': Issue #19132: The pprint module now supports compact mode. http://hg.python.org/cpython/rev/ae0306c8f7a3 -- nosy: +python-dev ___ Python tracker

[issue19132] Add compact mode to pprint

2013-10-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Updated patch doesn't compactify dicts. -- Added file: http://bugs.python.org/file31935/pprint_compact_3.patch ___ Python tracker ___

[issue19132] Add compact mode to pprint

2013-10-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: > As noted in the review, I'm not as keen on having dictionaries displayed > in compact form. Agreed with David. -- ___ Python tracker ___

[issue19132] Add compact mode to pprint

2013-09-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Updated patch addresses David's comments. Thank you David. > As noted in the review, I'm not as keen on having dictionaries displayed in > compact form. This makes sense. If no one will argue for compactifying mappings I'll remove this part of the patch. -

[issue19132] Add compact mode to pprint

2013-09-30 Thread R. David Murray
R. David Murray added the comment: As noted in the review, I'm not as keen on having dictionaries displayed in compact form. -- ___ Python tracker ___ __

[issue19132] Add compact mode to pprint

2013-09-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > I'd suggest that compact mode also indent the string continuation lines: Please open new issue for this. -- ___ Python tracker ___

[issue19132] Add compact mode to pprint

2013-09-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch. Please review and correct the documentation. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file31924/pprint_compact.patch ___ Python tracker

[issue19132] Add compact mode to pprint

2013-09-30 Thread R. David Murray
R. David Murray added the comment: I like it. If it isn't too difficult, I'd suggest that compact mode also indent the string continuation lines: ['one string', 'other string', 'very very long string which is continued on ' 'several lines', 'and again', 'and again', 'and again', 'and agai

[issue19132] Add compact mode to pprint

2013-09-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think it looks good on the principle. -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list

[issue19132] Add compact mode to pprint

2013-09-29 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: pprint produces not very nice output for collections with a large number of short elements (see msg198556). For example pprint.pprint(list(range(40))) outputs more than 40 short lines, while print(repr(list(range(40 takes only 2 lines on 80-column term