Navindra Umanee said:
> I also got confused seeing "yield" there.  Hmm, I didn't know Python
> supported that.

Don't know if you are aware of it or not, but yield in Python is quite
different than yield in Ruby.  Python's yield creates a generator, a
sort-of limited use continuation.

-- 
-- Jim Weirich     jim / weirichhouse.org    http://onestepback.org
-----------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct,
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)