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 jstasiak
Recipients ezio.melotti, jstasiak, python-dev, rhettinger, serhiy.storchaka, techtonik, terry.reedy
Date 2013-09-03.01:01:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1378170104.41.0.724576141353.issue17862@psf.upfronthosting.co.za>
In-reply-to
Content
I'm just gonna leave my implementation of chunk function (not sure about the name yet) here, it's basically what itertools.chunks from the previous patch is but it works for arbitrary iterables + few tests and documentation. The last chunk is currently truncated if there are not enough elements to fill it completely.
History
Date User Action Args
2013-09-03 01:01:44jstasiaksetrecipients: + jstasiak, rhettinger, terry.reedy, techtonik, ezio.melotti, python-dev, serhiy.storchaka
2013-09-03 01:01:44jstasiaksetmessageid: <1378170104.41.0.724576141353.issue17862@psf.upfronthosting.co.za>
2013-09-03 01:01:44jstasiaklinkissue17862 messages
2013-09-03 01:01:43jstasiakcreate