[SciPy-dev] Requiring Python 2.4
Lino Mastrodomenico
l.mastrodomenico at gmail.com
Tue Aug 28 17:52:04 EDT 2007
2007/8/28, Stefan van der Walt <stefan at 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 at gmail.com
More information about the SciPy-Dev
mailing list