[Zope-dev] Python Scripts Bug & Question

Evan Simpson evan@4-am.com
Tue, 20 Feb 2001 10:19:29 -0500


From: Chris Withers <chrisw@nipltd.com>
> I'm calling a python script with the context bound to, lets say, 'fred'.
> I call the python script like this:
>
> result = self.aq_acquire(variable_containing_name_of_PS)(a_dictionary)
>
> ...where self is an instance of my python product, and a_dictionary, is,
well, a
> dictionary that's aimed at the specified parameter of the python script.

"aimed at"?  This will pass the dictionary as a single positional parameter.
It won't do anything with bound names or keyword parameters.

Cheers,

Evan @ digicool & 4-am