Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
IMO, the index number was never actually helpful. Also, the new error message takes you straight to the heart of the problem without a useless distractor: >>> zip('abc', Iterable('one'), 'def') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/raymond/Documents/tmp35.py", line 5, in __iter__ return iter(range(self.n)) TypeError: 'str' object cannot be interpreted as an integer ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37976> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com