commit | 5e08cb8e50f5d63ba2c73c6eb678f7e442b89a3a | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Jun 28 23:53:56 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Jun 28 23:53:56 2000 +0000 |
tree | f7a5b10442be588205aa195c7a90a9c42f5013e2 | |
parent | d7823f264570fb94f179e453330ea12f6158e2e5 [diff] |
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.