Author rhettinger
Recipients josh.r, rhettinger, serhiy.storchaka, sir-sigurd, tim.peters
Date 2019-08-30.03:54:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1567137275.89.0.61219214552.issue37976@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2019-08-30 03:54:35rhettingersetrecipients: + rhettinger, tim.peters, serhiy.storchaka, josh.r, sir-sigurd
2019-08-30 03:54:35rhettingersetmessageid: <1567137275.89.0.61219214552.issue37976@roundup.psfhosted.org>
2019-08-30 03:54:35rhettingerlinkissue37976 messages
2019-08-30 03:54:35rhettingercreate