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/065293.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: iwindowAahz aahz at pythoncraft.com
Sat May 27 12:59:59 CEST 2006
On Thu, May 25, 2006, Torsten Marek 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?

You should probably try this idea out on comp.lang.python; if there is
approval, you'll probably need to write a PEP because of these issues.
Note that my guess is that the complexity of the issues relative to the
benefit means that BDFL will probably veto it.

Side note: if you do want to discuss this further on python-dev, please
subscribe
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"I saw `cout' being shifted "Hello world" times to the left and stopped
right there."  --Steve Gonedes
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