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 rhettinger
Recipients chris.jerdonek, docs@python, georg.brandl, rhettinger
Date 2012-04-08.20:13:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1333916000.81.0.272624275655.issue14528@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry, I agree with Georg, this isn't a bug, not even a documentation bug.  A type is free to implement iteration either by way of __iter__ or by way of __getitem__.  How it chooses to do so is an implementation detail (and different implementations have made different choices).
History
Date User Action Args
2012-04-08 20:13:20rhettingersetrecipients: + rhettinger, georg.brandl, chris.jerdonek, docs@python
2012-04-08 20:13:20rhettingersetmessageid: <1333916000.81.0.272624275655.issue14528@psf.upfronthosting.co.za>
2012-04-08 20:13:20rhettingerlinkissue14528 messages
2012-04-08 20:13:20rhettingercreate