[issue30510] c_bool type not supported for BigEndianStructure on little-endian machine

2022-01-23 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11: >>> from ctypes import * >>> class r( BigEndianStructure ): ... _fields_ = [( "d0", c_uint32), ... ( "d1", c_bool ) ... ] ... Traceback (most recent call last): File "", line 1, in File

[issue30510] c_bool type not supported for BigEndianStructure on little-endian machine

2017-06-06 Thread Hassan El Karouni
Changes by Hassan El Karouni : Added file: http://bugs.python.org/file46927/__init__.py ___ Python tracker ___

[issue30510] c_bool type not supported for BigEndianStructure on little-endian machine

2017-06-06 Thread Hassan El Karouni
Changes by Hassan El Karouni : Added file: http://bugs.python.org/file46926/c_bool_bug.py ___ Python tracker ___

[issue30510] c_bool type not supported for BigEndianStructure on little-endian machine

2017-06-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Please post or upload minimal code that reproduces the problem for you. -- nosy: +terry.reedy ___ Python tracker ___

[issue30510] c_bool type not supported for BigEndianStructure on little-endian machine

2017-05-30 Thread Hassan El Karouni
New submission from Hassan El Karouni: When trying to create a BigEndianStructure containing a c_bool field (on a windows machine), i get the following traceback: File "/home/elkarouh/anaconda2/lib/python2.7/ctypes/_endian.py", line 24, in _other_endian raise TypeError("This type does