[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] Attribute error message
From:       "=?UTF-8?Q?Filip_Gruszczy=C5=84ski?=" <gruszczy () gmail ! com>
Date:       2008-11-30 22:16:18
Message-ID: 1be78d220811301416s67dcfc9aqa1b671da3ab05218 () mail ! gmail ! com
[Download RAW message or body]

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

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic