python version requirements

Bob Briski rbriski at gmail.com
Tue Jul 10 17:01:17 BST 2007


So, can I assume that Storm requires Python 2.4?

Johan Dahlin wrote:
> 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)
> 



More information about the storm mailing list