[Python-Dev] How to determine if char is signed or unsigned? (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Wed Apr 5 21:30:48 CEST 2006
- Previous message: [Python-Dev] How to determine if char is signed or unsigned?
- Next message: [Python-Dev] 2.5a1 Performance
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thomas Heller wrote:
Is there are #define symbol which allows to determine if 'char' is signed or unsigned? CHARUNSIGNED, maybe?
You could define an autoconf test for that. There is no predefined symbol.
I guess the buildbot failures on the ppc debian box are caused by ctypes using signed chars always.
So you think char is unsigned on ppc debian? I would find that very surprising.
Regards, Martin
- Previous message: [Python-Dev] How to determine if char is signed or unsigned?
- Next message: [Python-Dev] 2.5a1 Performance
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]