How to name Exceptions that aren't Errors

Leif K-Brooks eurleif at ecritters.biz
Fri Apr 8 11:45:29 EDT 2005


Steve Holden wrote:
> I've even used an exception called Continue to overcome an irksome
> restriction in the language (you used not to be able to continue a
> loop from an except clause).

Out of curiosity, how could you use an exception to do that? I would 
think you would need to catch it and then use "continue", which wouldn't 
be possible because of the restriction you were trying to work around in 
the first place.



More information about the Python-list mailing list