[issue22823] Use set literals instead of creating a set from a list
Terry J. Reedy
report at bugs.python.org
Sun Nov 9 22:37:47 CET 2014
Terry J. Reedy added the comment:
Serhiy, as I said before, please omit idlelib/CodeContext.
You both skipped reprlib.py. Should it be changed to produce the standard repr() result? The existing lines:
F:\Python\dev\35\lib\reprlib.py: 91: return self._repr_iterable(x, level, 'set([', '])', self.maxset)
F:\Python\dev\35\lib\reprlib.py: 95: return self._repr_iterable(x, level, 'frozenset([', '])',
If it is, its tests will have to be changed too.
----------
keywords: -patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22823>
_______________________________________
More information about the Python-bugs-list
mailing list