[Numpy-discussion] First Numerical Python code...comments?
Alan G Isaac
aisaac at american.edu
Sun Mar 4 11:25:20 EST 2007
On Sun, 4 Mar 2007, Charles R Harris apparently wrote:
> range is now iterable and I read
> somewhere that xrange is deprecated.
There has been a rumor that range will effectively become
xrange in Python 300
http://www.python.org/doc/essays/ppt/accu2006/Py3kACCU.ppt
but range has always been iterable---did you mean to say
"iterator"? but xrange objects to not support a next()
method either---and as of Python 2.5 xrange is not
deprecated (unless the documentation somehow got out of
sync).
http://docs.python.org/lib/built-in-funcs.html
Cheers,
Alan Isaac
More information about the NumPy-Discussion
mailing list