Message8823
I think the following qualifies as a bug; I think the
call to super(C, self).m() should cause an exception
(the super_getattro search should not find the m in A
if an m is defined in B):
>>> class A(object):
... def m(self):
... print 'A'
...
>>> class B(A):
... m = property(lambda self: 'B')
...
>>> class C(B):
... def m(self):
... super(C, self).m()
... print 'C'
...
>>> c = C()
>>> c.meth()
A
C
|
|
Date |
User |
Action |
Args |
2007-08-23 13:58:44 | admin | link | issue505028 messages |
2007-08-23 13:58:44 | admin | create | |
|