[prev in list] [next in list] [prev in thread] [next in thread]
List: python-dev
Subject: Re: [Python-Dev] Proposal for a new itertools function: iwindow
From: Aahz <aahz () pythoncraft ! com>
Date: 2006-05-27 10:59:59
Message-ID: 20060527105959.GA29292 () panix ! com
[Download RAW message or body]
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@pythoncraft.com) <*> http://www.pythoncraft.com/
"I saw `cout' being shifted "Hello world" times to the left and stopped
right there." --Steve Gonedes
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/python-dev%40progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic