python version requirements

Bob Briski rbriski at gmail.com
Tue Jul 10 16:19:36 BST 2007


Version info:

Python 2.3.4 (#1, Feb  2 2005, 11:44:49)

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:

File: storm/info.py
Line: 227

@compile.when(type)

Here's the error:
 >>> from storm.locals import * 
 
 

Traceback (most recent call last): 
 
 

   File "<stdin>", line 1, in ? 
 
 

   File "/usr/lib/python2.3/site-packages/storm/locals.py", line 21, in 
? 
 

     from storm.properties import Bool, Int, Float, Chars, Unicode, 
Pickle, List 
 

   File "/usr/lib/python2.3/site-packages/storm/properties.py", line 28, 
in ? 
 

     from storm.info import get_obj_info, get_cls_info 
 
 

   File "/usr/lib/python2.3/site-packages/storm/info.py", line 227 
 
 

     @compile.when(type) 
 
 

     ^ 
 
 

SyntaxError: invalid syntax

Suggestions?

Thanks,
Bob



More information about the storm mailing list