[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/