Python - "object Layout"
can somebody describe the following exception? What is the 'object layout' and how it is defined? Thanks Traceback (most recent call last): File 'test_gui.py', line 5, in
Solution 1:
It means that you tried to change the type of an object (by assigning to __bases__
) and the new type wasn't compatible with the old one. This happens when the underlying C data structure isn't the same for both types.
See http://www.mail-archive.com/python-list@python.org/msg52950.html for a list of differences between types that might trigger this exception.
Post a Comment for "Python - "object Layout""