[PyQt] Attribute error message

Phil Thompson phil at riverbankcomputing.com
Mon Dec 1 09:21:25 GMT 2008

On Sun, 30 Nov 2008 23:16:18 +0100, "Filip Gruszczyński"
<gruszczy at gmail.com> wrote:
> 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?

It will be fixed in SIP v4.8.


More information about the PyQt mailing list