W3C home > Mailing lists > Public > public-cwm-talk@w3.org > October to December 2006

cwm on Python 2.5?

From: Yarden Katz <yarden@umd.edu>
Date: Fri, 6 Oct 2006 16:07:29 -0400
Message-Id: <DB9B9EDD-C308-492C-84A1-12136AB79B4C@umd.edu>
To: public-cwm-talk@w3.org

Hi,

   I'm pretty sure I'm doing something wrong here, but thought I'd  
report if it's a bug: I am using the latest release (not svn) of cwm  
on Python 2.5 (mac os x) and got the following error..

File "/Library/Frameworks/Python.framework/Versions/Current/lib/ 
python2.5/site-packages/swap/formula.py", line 26
     from __future__ import generators
SyntaxError: from __future__ imports must occur at the beginning of  
the file

   In formula.py, the __future__ line really isn't at the beginning  
(two variables are initialized before it).  If I move it to the start  
of the file, it runs.

thanks, --Yarden
--
Yarden Katz <yarden@umd.edu>
Received on Friday, 6 October 2006 20:07:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:11:02 GMT