Mercurial > cpython-lru_cache-weakref
comparison Python/getversion.c @ 13108:68e57c5d1bec legacy-trunk
Vladimir Marangozov:
This patch fixes a problem on AIX with the signed int case code in
getargs.c, after Trent Mick's intervention about MIN/MAX overflow
checks. The AIX compiler/optimizer generates bogus code with the
default flags "-g -O" causing test_builtin to fail: int("10", 16) <>
16L. Swapping the two checks in the signed int code makes the problem
go away.
Also, make the error messages fit in 80 char lines in the
source.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 28 Jun 2000 23:53:56 +0000 |
| parents | 8c6ffe670963 |
| children | 916fb024ce94 |
comparison
equal
deleted
inserted
replaced
| 13107:f61b4a98b972 | 13108:68e57c5d1bec |
|---|
