• Guido van Rossum's avatar
    Vladimir Marangozov: · 5e08cb8e
    Guido van Rossum yazdı
    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.
    5e08cb8e
getargs.c 29.4 KB