[Zope] Why pythonMethod forbids me cutting list?

Dirksen dirksen_lau@yahoo.com
Thu, 4 Jan 2001 04:22:38 -0800 (PST)


These statements in python method:

stock=[3,4]
del stock[1]

will cause this error:

Error Type: Python Method Error
Error Value: Forbidden operation DELETE_SUBSCR at line 2

How is that?

Dirksen



__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/