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 greg.solomon
Recipients docs@python, greg.solomon, mdk, rhettinger
Date 2016-12-12.07:52:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1481529125.54.0.68804116851.issue28939@psf.upfronthosting.co.za>
In-reply-to
Content
Oh, I get it. There needs to be a next(self.it) loop in __next__ as well as in _grouper in case the user doesn't call _grouper.

My test was 
for ( k , g ) in groupby( L ):
    print ( k , len( list( g ) ) )
so I was executing _grouper on every row.

Thanks !!!
History
Date User Action Args
2016-12-12 07:52:05greg.solomonsetrecipients: + greg.solomon, rhettinger, docs@python, mdk
2016-12-12 07:52:05greg.solomonsetmessageid: <1481529125.54.0.68804116851.issue28939@psf.upfronthosting.co.za>
2016-12-12 07:52:05greg.solomonlinkissue28939 messages
2016-12-12 07:52:05greg.solomoncreate