[Python-Dev] How to determine if char is signed or unsigned?

Thomas Heller theller at python.net
Wed Apr 5 20:57:23 CEST 2006


Is there are #define symbol which allows to determine if
'char' is signed or unsigned? __CHAR_UNSIGNED__, maybe?

I guess the buildbot failures on the ppc debian box are caused by
ctypes using signed chars always.

Thanks,

Thomas



More information about the Python-Dev mailing list