[issue19105] pprint doesn't use all width

2015-04-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6d9520e2223f by Serhiy Storchaka in branch 'default': Updated pprint examples in according to issue #19105. https://hg.python.org/cpython/rev/6d9520e2223f -- ___ Python tracker

[issue19105] pprint doesn't use all width

2015-02-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue19105] pprint doesn't use all width

2015-02-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7a6671d491da by Serhiy Storchaka in branch 'default': Issue #19105: pprint now more efficiently uses free space at the right. https://hg.python.org/cpython/rev/7a6671d491da -- nosy: +python-dev ___ Python

[issue19105] pprint doesn't use all width

2014-12-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Resolved conflicts with issue19104. -- Added file: http://bugs.python.org/file37517/pprint_all_width_3.patch ___ Python tracker ___ __

[issue19105] pprint doesn't use all width

2014-11-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Antoine for your review. But first variant of the patch doesn't affect an example at the top of this issue, it doesn't change string formatting. The second variant makes string formatting use all free space at the right. With the patch: >>> import

[issue19105] pprint doesn't use all width

2014-11-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could anyone please make a review? -- keywords: +needs review versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ ___

[issue19105] pprint doesn't use all width

2013-10-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch. Without patch: >>> pprint.pprint([[0, 0, 0]]*3, width=21) [[0, 0, 0], [0, 0, 0], [0, 0, 0]] With patch: >>> pprint.pprint(

[issue19105] pprint doesn't use all width

2013-09-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: pprint not only adds indentation, but also increases right margin for nested items. >>> pprint.pprint([' '.join(str(i) for i in range(30))]*2) ['0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 ' '28 29', '0 1 2 3 4 5 6 7 8 9 10 1