This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sir-sigurd
Recipients rhettinger, serhiy.storchaka, sir-sigurd
Date 2019-08-29.13:25:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1567085126.48.0.928333650187.issue37976@roundup.psfhosted.org>
In-reply-to
Content
Also using this example class:

In [5]: iter(Iterable('one'))
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-5-b250104a560e> in <module>()
----> 1 iter(Iterable('one'))

<ipython-input-3-0f0fff743d6c> in __iter__(self)
      3         self.n = n
      4     def __iter__(self):
----> 5         return iter(range(self.n))
      6 

TypeError: range() integer end argument expected, got str.
History
Date User Action Args
2019-08-29 13:25:26sir-sigurdsetrecipients: + sir-sigurd, rhettinger, serhiy.storchaka
2019-08-29 13:25:26sir-sigurdsetmessageid: <1567085126.48.0.928333650187.issue37976@roundup.psfhosted.org>
2019-08-29 13:25:26sir-sigurdlinkissue37976 messages
2019-08-29 13:25:26sir-sigurdcreate