pythonic tree-walking idioms

Aahz Maruch aahz at
Fri May 18 13:53:03 CEST 2001

In article <3b04d42e$1_2 at newsfeeds>, Shak <raskol at> wrote:
>Thanks... appreciate all the responses... however I didn't realize that
>"yield" was a python keyword... seems ruby-like to me...

It's not, yet.  It's part of an experimental patch on Python.  However,
you can probably achieve a similar effect with little effort in current
CVS Python and iterators.
                      --- Aahz  <*>  (Copyright 2001 by aahz at

Androgynous poly kinky vanilla queer het Pythonista
Hugs and backrubs -- I break Rule 6

"It's such a fine line between stupid and clever."  --David St. Hubbins

More information about the Python-list mailing list