[issue39407] Bitfield Union does not work for bit widths greater than 8 bits

2020-01-22 Thread Ammar Askar
Change by Ammar Askar : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39407] Bitfield Union does not work for bit widths greater than 8 bits

2020-01-21 Thread SilentGhost
Change by SilentGhost : -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge versions: -Python 3.5, Python 3.6 ___ Python tracker ___

[issue39407] Bitfield Union does not work for bit widths greater than 8 bits

2020-01-21 Thread James
New submission from James : Creating a Bitfield from a ctypes union and structure results in unexpected behaviour. It seems when you set the bit-width of a structure field to be greater than 8 bits it results in the subsequent bits being set to zero. class