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 methane
Recipients Oren Milman, abarry, methane
Date 2016-10-06.12:46:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
patch is LGTM.

But there is one hidden inconsistency:

>>> r = range(2**100)
>>> type(iter(r))
<class 'longrange_iterator'>
>>> type(iter(r))(1, 1, 0)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: cannot create 'longrange_iterator' instances

Should we have same tp_new method for longrange_iterator?
Date User Action Args
2016-10-06 12:46:20methanesetrecipients: + methane, abarry, Oren Milman
2016-10-06 12:46:20methanesetmessageid: <>
2016-10-06 12:46:20methanelinkissue28376 messages
2016-10-06 12:46:20methanecreate