30 Jun
2000
30 Jun
'00
7:37 p.m.
Guido van Rossum wrote:
Look at b_setitem() in arraymodule.c.
What is CHAR_MIN?
Do you perchance have unsigned characters???
This answers your question: /usr/include/sys/limits.h:#define CHAR_MIN (0) /usr/include/sys/limits.h:#define SCHAR_MIN (-SCHAR_MAX - 1)
If so, let's just replace CHAR_MIN with -128 and CHAR_MAX with 127.
Yes! I #undef/define'd them like this in arraymodule.c and the test passes. Thanks! -- Vladimir MARANGOZOV | Vladimir.Marangozov@inrialpes.fr http://sirac.inrialpes.fr/~marangoz | tel:(+33-4)76615277 fax:76615252