This is one of the shortcomings of Python Methods that Scripts eliminate.
You can work around it by writing:
x = {}
x.update({y: z})
Cheers,
Evan @ digicool & 4-am
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
*
I'm trying to create a Python Method, using PythonMethod 0-1-7, that
validates a set of form values before updating a database. I planned
to return any/all errors as a dictionary keyed by the errant field
name. But statements like this in my Python Method
input_errors = {}
input