[Zope] Why pythonMethod forbids me cutting list?

2001-01-04 Thread Dirksen
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

Re: [Zope] Why pythonMethod forbids me cutting list?

2001-01-04 Thread Evan Simpson
From: Dirksen [EMAIL PROTECTED] 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? Python Methods aren't smart enough to know that you created the list