A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-May/065300.html below:

[Python-Dev] Proposal for a new itertools function: iwindow

[Python-Dev] Proposal for a new itertools function: iwindow [Python-Dev] Proposal for a new itertools function: iwindowRaymond Hettinger raymond.hettinger at verizon.net
Sat May 27 18:48:08 CEST 2006
> Aahz <aahz at pythoncraft.com> wrote:
>>> Some open question remain:
>>> - should iwindow return lists or tuples?
>>> - what happens if the length of the iterable is smaller than the
>>> window size, and no padding is specified? Is this an error? Should
>>> the generator return no value at all or one window that is too small?


An itertools windowing function was previously discussed and rejected.


Raymond
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4