Working around a lack of 'goto' in python

Stephen Horne steve at ninereeds.fsnet.co.uk
Wed Mar 10 22:02:22 EST 2004


On Wed, 10 Mar 2004 17:34:03 +0100, gabor <gabor at z10n.net> wrote:

>the name 'exception' immediately means (for me at least) some kind of
>error condition.... 
>
>maybe if they had a different name, it would be easier to use them also
>by non-error-conditions.

But we can't use 'error'. If we did, of course we could use it for
exceptional non-errors, but people would expect it to mean something
exceptional, so they wouldn't want to use it for frequent errors.

;-)


-- 
Steve Horne

steve at ninereeds dot fsnet dot co dot uk



More information about the Python-list mailing list