Author inada.naoki
Recipients Oren Milman, abarry, inada.naoki
Date 2016-10-06.12:46:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1475757980.42.0.324591999092.issue28376@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2016-10-06 12:46:20inada.naokisetrecipients: + inada.naoki, abarry, Oren Milman
2016-10-06 12:46:20inada.naokisetmessageid: <1475757980.42.0.324591999092.issue28376@psf.upfronthosting.co.za>
2016-10-06 12:46:20inada.naokilinkissue28376 messages
2016-10-06 12:46:20inada.naokicreate