Issue222797

classification
Title: Error when subclassing PyList.
Type: Severity: normal
Components: Core Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: bckfnn
Priority: low Keywords:

Created on 2000-11-18.18:57:23 by bckfnn, last changed 2000-11-18.22:02:12 by bckfnn.

Messages
msg31 (view) Author: Finn Bock (bckfnn) Date: 2000-11-18.18:57:23
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 -------------------- 
msg32 (view) Author: Finn Bock (bckfnn) Date: 2000-11-18.22:02:12
This is the same type of situation as bug 122790. The same comment apply.
History
Date User Action Args
2000-11-18 18:57:23bckfnncreate