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 rhettinger
Recipients arkanes, rhettinger
Date 2007-11-27.00:22:28
SpamBayes Score 0.01822638
Marked as misclassified No
Message-id <1196122949.74.0.355598419401.issue1502@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry, this has been proposed and rejected previously.  One of the 
reasons was that the docs already have a C-speed recipe, grouper(), 
that shows how to do it with padding and it is even simpler to do it 
without padding using only zip() or izip().  Another was a lack of 
compelling use cases.  It was more fun to write and discuss than 
actually use in real code.

Also, I'm not happy with the given implementation.  The name is weak 
and the "partial" argument complexifies the function (its often better 
to have separate function than two combine two behaviors with a flag 
variable).

Even if cleaned-up and a use case or two is demonstrated, am not 
willing to clutter the module with more functions like this.

That being said, I do want to compliment the submission of a working 
patch with unittests.  Nice work.
History
Date User Action Args
2007-11-27 00:22:29rhettingersetspambayes_score: 0.0182264 -> 0.01822638
recipients: + rhettinger, arkanes
2007-11-27 00:22:29rhettingersetspambayes_score: 0.0182264 -> 0.0182264
messageid: <1196122949.74.0.355598419401.issue1502@psf.upfronthosting.co.za>
2007-11-27 00:22:29rhettingerlinkissue1502 messages
2007-11-27 00:22:28rhettingercreate