[issue21607] results of `zip` are displayed as '<zip object at 0xxxxxx>
Eric Snow
report at bugs.python.org
Thu May 29 18:38:53 CEST 2014
Eric Snow added the comment:
It may be the correct behavior but that doesn't mean we cannot update the repr to be more informative. We've already done that for a number of types that previously used the default __repr__() implementation. So in the case, how hard would it be to have the following repr?
>>> zip([1, 2, 3], ["a", "b", "c"])
zip([1, 2, 3], ["a", "b", "c"])
----------
nosy: +eric.snow
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21607>
_______________________________________
More information about the Python-bugs-list
mailing list