Named code blockes

Aahz Maruch aahz at panix.com
Sat Apr 14 12:26:26 EDT 2001


In article <9b9pge$a10 at news.or.intel.com>,
Miki Tebeka <tebeka at lycosmail.com> wrote:
>
>If these are code-around then we agree that there is a problem there.
>I agree with these technique, however try/except have a relatively high
>performance impact comparing to a simple implementation of named-break
>which will be a goto in c.

I can almost guarantee that if there is ever an implementation of named
code blocks, it will be done with exceptions.  After all, the Python for
loop uses exceptions (IndexError).
-- 
                      --- Aahz  <*>  (Copyright 2001 by aahz at pobox.com)

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

Why is this newsgroup different from all other newsgroups?



More information about the Python-list mailing list