[New-bugs-announce] [issue5034] itertools.fixlen

Robert Lehmann report at bugs.python.org
Thu Jan 22 19:18:41 CET 2009


New submission from Robert Lehmann <lehmannro at gmail.com>:

As raised recently on python-ideas [1]_, an itertools method fixing
iterators to a certain length might be handy (where fixing is either
cutting elements off or appending values).

I appended a patch implementing this feature in Python/C, unit tests and
documentation included.

.. [1] http://thread.gmane.org/gmane.comp.python.ideas/2472/focus=2479

----------
components: Library (Lib)
files: fixlen.patch
keywords: patch
messages: 80372
nosy: lehmannro
severity: normal
status: open
title: itertools.fixlen
type: feature request
versions: Python 2.7
Added file: http://bugs.python.org/file12833/fixlen.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5034>
_______________________________________


More information about the New-bugs-announce mailing list