A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-July/005244.html below:

[Python-Dev] test_array failure on AIX

[Python-Dev] test_array failure on AIX [Python-Dev] test_array failure on AIXVladimir Marangozov Vladimir.Marangozov@inrialpes.fr
Sat, 1 Jul 2000 02:37:39 +0200 (CEST)
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



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4