]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Vladimir Marangozov:
authorGuido van Rossum <guido@python.org>
Wed, 28 Jun 2000 23:53:56 +0000 (23:53 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 28 Jun 2000 23:53:56 +0000 (23:53 +0000)
commit5e08cb8e50f5d63ba2c73c6eb678f7e442b89a3a
treef7a5b10442be588205aa195c7a90a9c42f5013e2
parentd7823f264570fb94f179e453330ea12f6158e2e5
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.
Python/getargs.c