[SciPy-dev] Requiring Python 2.4
Lino Mastrodomenico
l.mastrodomenico@gmail....
Tue Aug 28 16:52:04 CDT 2007
2007/8/28, Stefan van der Walt <stefan@sun.ac.za>:
> On Tue, Aug 28, 2007 at 11:24:43AM -0700, Jarrod Millman wrote:
> > What 2.4 features are being used?
>
> Mostly list comprehension (should be easy to find using a regular
> expression search).
List comprehensions, e.g. [i for i in range(10)], were introduced in Python 2.0.
Maybe you mean generator expressions, e.g. (i for i in range(10)) ?
--
Lino Mastrodomenico
E-mail: l.mastrodomenico@gmail.com
More information about the Scipy-dev
mailing list