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 terry.reedy
Recipients docs@python, eric.araujo, nadeem.vawda, rhettinger, terry.reedy
Date 2012-05-20.23:53:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337558008.65.0.305583666756.issue14836@psf.upfronthosting.co.za>
In-reply-to
Content
Raymond, I pretty much agree with your points and would be happy either with rejection or one simple sentence.  This idiom really belongs in a hypothetical how-to, such as 'Python iterators and generators'. The real use case for it=iter() followed by next(it) it to treat the first item of a collection specially before scanning the rest in a for loop.
History
Date User Action Args
2012-05-20 23:53:28terry.reedysetrecipients: + terry.reedy, rhettinger, nadeem.vawda, eric.araujo, docs@python
2012-05-20 23:53:28terry.reedysetmessageid: <1337558008.65.0.305583666756.issue14836@psf.upfronthosting.co.za>
2012-05-20 23:53:28terry.reedylinkissue14836 messages
2012-05-20 23:53:27terry.reedycreate