[Zope] Python: methods arguments limited to 256?
Jaroslav Lukesh
lukesh at seznam.cz
Fri Apr 16 01:21:22 EDT 2004
Julio Silva wrote:
>
>> Make this test: create a python script and copy the code below into it
>> and try to "save changes"
>> you get the error. take out one parameter and hit "save changes" again
>> you will be able to save the document with no errors.
>
>
> Yep,
>
> I tryed with a dtml method and the error message was clear:
>
> Expression (Python) Syntax error:
> more than 255 arguments
>
> , for tag <dtml-call "myzsqlmethod(a=a, a=a, a=a, a=a, a=a, a=a, a=a,
and what about
<dtml-call "REQUEST.set('a001','x')">
<dtml-call "REQUEST.set('a002','x')">
...
<dtml-call "REQUEST.set('a256','x')">
<dtml-call myzsqlmethod>
Not tested...
--
Jaroslav Lukesh
More information about the Zope
mailing list