[PyKDE] Bug with super and QObject
Giovanni Bajo
rasky at develer.com
Tue Apr 12 16:19:46 BST 2005
Hello:
>>> from qt import *
>>> class A(QObject):
... pass
...
>>> a=A()
>>> super(A, a).emit("foo")
Traceback (most recent call last):
File "<stdin>", line 1, in ?
AttributeError: 'super' object has no attribute 'emit'
>>> super(A, a).emit(PYSIGNAL("foo"), ())
Traceback (most recent call last):
File "<stdin>", line 1, in ?
AttributeError: 'super' object has no attribute 'emit'
Why is super broken?
--
Giovanni Bajo
More information about the PyQt
mailing list