who uses Python or Ruby, and for what?

Rainer Deyke root at rainerdeyke.com
Tue May 1 18:05:37 EDT 2001


"Fredrik Lundh" <fredrik at pythonware.com> wrote in message
news:OdGH6.7972$sk3.2200973 at newsb.telia.net...
> 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.

Traditional sequences have been limited in length to maxint.  I don't think
this limitation applies to iterators.


--
Rainer Deyke (root at rainerdeyke.com)
Shareware computer games           -           http://rainerdeyke.com
"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor





More information about the Python-list mailing list