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 kristjan.jonsson
Recipients BreamoreBoy, ajaksu2, benjamin.peterson, dcjim, elachuni, gvanrossum, jon, kristjan.jonsson, mark.dickinson, pitrou, qelan, tseaver, vdupras, vstinner
Date 2013-11-19.10:47:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The changes for the docs are just a port of the original patch.  And indeed, these functions don't return an iterator, but a generator object.

I admit I'm confused by the difference, since next() can be called directly on the generator.  Still, a lot of code in the test explicitly calls iter() on the iterators before doing next().  Not sure why.

The commented out line is an artifact, I'll remove it, the correct one is the test for 20 items.

Otherwise, I have no vested interest in getting this in.  My porting this is just me contributing to 2.7.  If it's vetoed, we'll just put it in 2.8.
Date User Action Args
2013-11-19 10:47:25kristjan.jonssonsetrecipients: + kristjan.jonsson, gvanrossum, dcjim, tseaver, mark.dickinson, pitrou, vstinner, ajaksu2, jon, benjamin.peterson, vdupras, elachuni, BreamoreBoy, qelan
2013-11-19 10:47:25kristjan.jonssonsetmessageid: <>
2013-11-19 10:47:25kristjan.jonssonlinkissue7105 messages
2013-11-19 10:47:25kristjan.jonssoncreate