[issue22824] Update reprlib to use set literals

2014-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset cf5b910ac4c8 by Raymond Hettinger in branch 'default': Issue #22824: Simplify reprlib output format for empty arrays https://hg.python.org/cpython/rev/cf5b910ac4c8 -- ___ Python tracker

[issue22824] Update reprlib to use set literals

2014-11-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The repr of empty array() should be fixed too. -- nosy: +serhiy.storchaka Added file: http://bugs.python.org/file37165/issue22824_3.diff ___ Python tracker __

[issue22824] Update reprlib to use set literals

2014-11-09 Thread Berker Peksag
Changes by Berker Peksag : -- stage: patch review -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue22824] Update reprlib to use set literals

2014-11-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the patch. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue22824] Update reprlib to use set literals

2014-11-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 147fda13bec8 by Raymond Hettinger in branch 'default': Issue #22824: Updated reprlib output format for sets to use set literals. https://hg.python.org/cpython/rev/147fda13bec8 -- nosy: +python-dev ___ Py

[issue22824] Update reprlib to use set literals

2014-11-09 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the review, Raymond. Patch updated: - Updated the documentation - Added two test cases for set literals - Replaced old run_unittest calls with ``unittest.main()`` -- Added file: http://bugs.python.org/file37164/issue22824_v2.diff

[issue22824] Update reprlib to use set literals

2014-11-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: That looks great. Go ahead an apply (with a MISC/NEWS entry and an update to the example on line 22 of Docs/tutorial/stdlib2.rst). -- assignee: -> berker.peksag ___ Python tracker

[issue22824] Update reprlib to use set literals

2014-11-09 Thread Berker Peksag
Berker Peksag added the comment: Here's a patch to use set literals and frozenset({'a'}) in reprlib. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file37163/issue22824.diff ___ Python tracker

[issue22824] Update reprlib to use set literals

2014-11-08 Thread Ezio Melotti
Changes by Ezio Melotti : -- components: +Library (Lib) nosy: +ezio.melotti stage: -> needs patch ___ Python tracker ___ ___ Python-b

[issue22824] Update reprlib to use set literals

2014-11-08 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue22824] Update reprlib to use set literals

2014-11-08 Thread Raymond Hettinger
New submission from Raymond Hettinger: Currently reprlib outputs: >>> reprlib.repr(set('supercalifragilisticexpialidocious')) "set(['a', 'c', 'd', 'e', 'f', 'g', ...])" This should be: "{'a', 'c', 'd', 'e', 'f', 'g', ...}" -- keywords: easy messages: 230880 nosy: rhettinge