Message31

Author bckfnn
Recipients
Date 2000-11-18.18:57:23
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Subclassing PyList will cause en recusive loop and a long java
stacktrace.

-------------------- FILE test155.py -------------------- 

from org.python.core import PyList
class Test2(PyList):
    def foo(self):
         return self[0]

y = Test2()
y.append('spam')
print y.foo()
-------------------- END -------------------- 
History
Date User Action Args
2008-02-20 17:16:38adminlinkissue222797 messages
2008-02-20 17:16:38admincreate