[Zope] Python syntax error
Dieter Maurer
dieter at handshake.de
Mon Oct 20 13:44:47 EDT 2003
Julian Clark wrote at 2003-10-20 16:49 +0800:
> I'm getting a bizarre set of syntax errors.
> ...
> today=DateTime()
> ...
> when I modify it to something like this..
> today=DateTime()+7
> ...
> I get a syntax error.
> ...
> File D:\Zope\Products\PythonMethod\PythonMethod.py, line 115, in _checkCBlock
> (Object: 7days)
> File D:\Zope\Products\PythonMethod\zbytecodehacks\VSExec.py, line 138, in __init__
> SyntaxError: (see above)
This looks like an old Zope version (pre 2.6).
Maybe, an upgrade lets your problem disappear?
Dieter
More information about the Zope
mailing list