[SQLObject] errors in formencode for python-2.3
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Pau A. <pa...@sm...> - 2005-10-24 09:24:00
|
When executing python setup.py for FormEncode in python-2.3, it fails. These are the errors: python setup.py install --old-and-unmanageable -O1 --skip-build --root /home/pau/LnxZip/tmp/python-formencode-0.2.3-1-root-pau --record=INSTALLED_FILES.tmprunning install byte-compiling /home/pau/LnxZip/tmp/python-formencode-0.2.3-1-root-pau/usr/lib/python2.3/site-packages/formencode/formgen.py to formgen.pyc File "/usr/lib/python2.3/site-packages/formencode/formgen.py", line 8 @dispatch.generic() ^ SyntaxError: invalid syntax byte-compiling /home/pau/LnxZip/tmp/python-formencode-0.2.3-1-root-pau/usr/lib/python2.3/site-packages/formencode/sqlformgen.py to sqlformgen.pyc File "/usr/lib/python2.3/site-packages/formencode/sqlformgen.py", line 11 @makeform.when('isinstance(obj, SQLObject) or (isinstance(obj, type) and issubclass(obj, SQLObject))') ^ SyntaxError: invalid syntax It looks like the @ is not supported. Should FormEncode work in 2.3? Thanks Pau -- ____________________________________ Pau Aliagas (((smsARENA smsarena.com Tel. 902010292 ____________________________________ |