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 vizcayno
Recipients georg.brandl, vizcayno
Date 2008-07-03.15:09:59
SpamBayes Score 0.06882575
Marked as misclassified No
Message-id <1215097800.56.0.268941545187.issue3271@psf.upfronthosting.co.za>
In-reply-to
Content
For Win XP SP3 I do next in py30.b1:

a=[9,8,1,2]
it=iter(a)
it.next()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'list_iterator' object has no attribute 'next'

but doing:
it.__next__()
9
it.__next__()
8

it is ok.

However, manual of Py3.0 indicates iter.next() as valid.

Python 25 does not accept "it.__next__()" but "it.next()"
Regards.
History
Date User Action Args
2008-07-03 15:10:00vizcaynosetspambayes_score: 0.0688258 -> 0.06882575
recipients: + vizcayno, georg.brandl
2008-07-03 15:10:00vizcaynosetspambayes_score: 0.0688258 -> 0.0688258
messageid: <1215097800.56.0.268941545187.issue3271@psf.upfronthosting.co.za>
2008-07-03 15:09:59vizcaynolinkissue3271 messages
2008-07-03 15:09:59vizcaynocreate