Graceful handling of first line

Alex Martelli aleaxit at yahoo.com
Wed Oct 13 09:48:57 CEST 2004


Steven Bethard <steven.bethard at gmail.com> wrote:
   ...
> I don't much like the break out of a for loop, because it feels like a misuse
> of a construct designed for iteration...  But take your pick: StopIteration or
> NameError.  =)

Jacopini and Bohm have much to answer for...;-)



Alex



More information about the Python-list mailing list