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/2002-July/026481.html below:

[Python-Dev] Termination of two-arg iter()

[Python-Dev] Termination of two-arg iter() [Python-Dev] Termination of two-arg iter()Aahz aahz@pythoncraft.com
Sun, 14 Jul 2002 10:44:23 -0400
On Sun, Jul 14, 2002, Brett Cannon wrote:
>
> Personally, I say continuously raise StopIteration.  I feel that
> StopIteration says the iterator is done, period.  Being able to go
> beyond the signalled end seems like it is not a true once-through
> iterator with an actual end but starting to seem like a stream.  

+1
-- 
Aahz (aahz@pythoncraft.com)           <*>         http://www.pythoncraft.com/

Project Vote Smart: http://www.vote-smart.org/




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