This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Claudiu.Popa
Recipients Claudiu.Popa, Florian.Dold, yaubi
Date 2014-08-22.11:07:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
That makes sense. Quoting from the data model: "When inheriting from a class without __slots__, the __dict__ attribute of that class will always be accessible, so a __slots__ definition in the subclass is meaningless".
In the current case, for the little-endian systems, which I presume you have, BigEndianStructure is a subclass of Structure, but it doesn't have a definition of __slots__ in the body, leading to your results, according to the specificaton from the data model. In this case, it makes sense for Point1 to have __slots__, but not for Point2.
Date User Action Args
2014-08-22 11:07:52Claudiu.Popasetrecipients: + Claudiu.Popa, yaubi, Florian.Dold
2014-08-22 11:07:52Claudiu.Popasetmessageid: <>
2014-08-22 11:07:51Claudiu.Popalinkissue22098 messages
2014-08-22 11:07:51Claudiu.Popacreate