python version requirements
Johan Dahlin
jdahlin at async.com.br
Tue Jul 10 16:23:36 BST 2007
Bob Briski wrote:
> Version info:
>
> Python 2.3.4 (#1, Feb 2 2005, 11:44:49)
2.3 is really old by now. Why not upgrade to 2.4?
>
> Many of the list comprehension statements are missing the appropriate
> brackets for Python 2.3. I've been going through and adding them to the
> source but now I've run up against another statement my interpreter
> doesn't understand:
But remember, Generator expressions are not the same as list comprehensions.
>
> File: storm/info.py
> Line: 227
>
> @compile.when(type)
decorators were added in 2.4, the equivalent syntax in 2.3 is;
def function(argumnets, ...):
...
function = compile.when(type)(function)
--
Johan Dahlin <jdahlin at async.com.br>
Async Open Source
More information about the storm
mailing list