[issue2610] string representation of range and dictionary views
Martin v. Löwis
report at bugs.python.org
Tue Jun 17 07:23:02 CEST 2008
Martin v. Löwis <martin at v.loewis.de> added the comment:
After reviewing this again, I'm skeptical that this is a good idea. It
doesn't achieve its original purpose (anymore), as it only changes
tp_str for range objects (although it does change tp_repr for dict views
- why this inconsistency?).
So I'm -0 on the patch, meaning that I won't commit it, but won't object
to anybody else committing it, either.
Technically, in dictview_repr, the first call to PyUnicode_Concat isn't
checked for exceptions.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list