[PyQt] Attribute error message
Filip Gruszczyński
gruszczy at gmail.com
Sun Nov 30 22:16:18 GMT 2008
Right now, when a Python object subclasses QObject and then casts
Attribute error the message holds only the name of the attribute. This
is a bit inconvenient, because you have to either check all possible
classes from which that object was derived or put a print statement
and rerun the program. For pure Python object there is information
about the type of the object. Could the same be done for objects
subclassing QObject or is it deliberately done this way, because it
cannot be done otherwise?
--
Filip Gruszczyński
More information about the PyQt
mailing list