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 Florian.Dold
Recipients Florian.Dold
Date 2014-07-28.21:58:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Habimg __slots__ = [] on a class inheriting from ctypes.Structure prevents undefined fields from being set, as expected.

When inheriting from ctypes.BigEndianStructure, however, it is possible to set undefined fields.

See the attached file for small test case for the behavior.
Date User Action Args
2014-07-28 21:58:29Florian.Doldsetrecipients: + Florian.Dold
2014-07-28 21:58:29Florian.Doldsetmessageid: <>
2014-07-28 21:58:29Florian.Doldlinkissue22098 messages
2014-07-28 21:58:29Florian.Doldcreate