[Zope] Python Scripts: assignment error when namespace is bound
Evan Simpson
evan@digicool.com
Tue, 27 Mar 2001 18:30:03 -0500
From: "J M Cerqueira Esteves" <jmce@artenumerica.com>
> I just noticed that (with Zope-2.3.1b3, Python 1.5.2, under Debian 2.2)
> when namespace is bound (namespace=_) in Python Scripts,
> I can not use names accessible through the namespace as assignment
targets.
> For instance, the top folder where I was testing had a string property
> named 'color_dm'. When the following simple script was called from a DTML
> Method
>
> color_dm = 42
> return 14
>
> I got
>
> Error Type: TypeError
> Error Value: no arguments expected
I can't replicate this behavior with the CVS version. Could you send me an
example of this problem in an export (.zexp) file?
Cheers,
Evan @ digicool