[issue39030] Ctypes unions with bitfield members that do not share memory

2019-12-12 Thread Lewis Gaul
Change by Lewis Gaul : -- nosy: +LewisGaul, belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39030] Ctypes unions with bitfield members that do not share memory

2019-12-12 Thread dankreso
New submission from dankreso : I've found what looks like a corner case bug. Specifically, the behaviour that looks suspicious is when a ctypes union has bit field members, where the members have bit widths that are smaller than the size types: class BitFieldUnion(Union): _fields_ =