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 georg.brandl
Recipients chris.jerdonek, docs@python, georg.brandl
Date 2012-04-08.10:16:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1333880196.2.0.181569517585.issue14528@psf.upfronthosting.co.za>
In-reply-to
Content
Why is it so important if strings implement __iter__?  They are iterable in both versions, since iteration falls back on __getitem__ if no __iter__ is defined.  For user code it is irrelevant which of the iteration protocols is present.
History
Date User Action Args
2012-04-08 10:16:36georg.brandlsetrecipients: + georg.brandl, chris.jerdonek, docs@python
2012-04-08 10:16:36georg.brandlsetmessageid: <1333880196.2.0.181569517585.issue14528@psf.upfronthosting.co.za>
2012-04-08 10:16:35georg.brandllinkissue14528 messages
2012-04-08 10:16:35georg.brandlcreate