who uses Python or Ruby, and for what?

Fredrik Lundh fredrik at pythonware.com
Tue May 1 23:51:42 CEST 2001


Bob Alexander wrote:
> It seems that Python is playing catch-up in this area
> (Java, Ruby and some other language environments have
> had iterators since their inceptions), but better late than
> never!

Python has always had iterators, implemented as forward-only
sequences.  The new iterator model doesn't add anything that
you haven't been able to do before; it just makes things a bit
easier to implement and use.

Cheers /F





More information about the Python-list mailing list