[Q] Are Exceptions used that much in practice?

Aahz Maruch aahz at panix.com
Mon Dec 18 16:58:52 EST 2000


In article <Pine.GSO.4.21.0012122229470.19682-100000 at y.glue.umd.edu>,
Roy Katz  <katz at Glue.umd.edu> wrote:
>
>If you enclose statements in a try/except clause, and assuming no
>exception is thrown, what are the runtime penalties?

Minimal, from what I've heard, but I don't feel like doing any
benchmarking right now.
-- 
                      --- Aahz (Copyright 2000 by aahz at pobox.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

This is a signature anti-virus. 
Please stop the spread of signature viruses!



More information about the Python-list mailing list