Message224195
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:29 | Florian.Dold | set | recipients:
+ Florian.Dold |
2014-07-28 21:58:29 | Florian.Dold | set | messageid: <1406584709.24.0.956833774104.issue22098@psf.upfronthosting.co.za> |
2014-07-28 21:58:29 | Florian.Dold | link | issue22098 messages |
2014-07-28 21:58:29 | Florian.Dold | create | |
|