On 6/25/05, Uwe Mayer <[EMAIL PROTECTED]> wrote:
> AFAIK super only works with new-style classes, so I checked:
>
> >>> from qtcanvas import *
> >>> isinstance(QCanvasItem, object)
> True
AFAIK, this is not the right way to check for new-styledness:
>>> class X: "i'm an old-styler"
>>> isinstanc
Uwe Mayer wrote:
> I have a diamond-shaped multiple inheritanc chain with new style classes,
> but super() does not call the parent class correctly:
>
> -- snip --
> from qtcanvas import *
I don't have qtcanvas installed, and I couldn't reproduce the
undesirable behavior using a dummy class. If
Hi,
I have a diamond-shaped multiple inheritanc chain with new style classes,
but super() does not call the parent class correctly:
-- snip --
from qtcanvas import *
class B2(QCanvasItem):
def move(self, x,y):
super(B2, self).move(0,0)
print "B2"
class C2(QCanvasItem):
d