]> granicus.if.org Git - python/commit
In atoi(), don't use isxdigit() to test whether the last character
authorGuido van Rossum <guido@python.org>
Mon, 22 Feb 1999 16:18:44 +0000 (16:18 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 22 Feb 1999 16:18:44 +0000 (16:18 +0000)
commit5bd69db9f03ef1fa5ccaefd6ddd43291f9e7532c
tree0d676e2b08c42597e26f8c91e8b780ff9a95a822
parent0fb7a37667e78f96392b5cfa6e82f04551724684
In atoi(), don't use isxdigit() to test whether the last character
converted was a "digit" -- use isalnum().  This test is there only to
guard against "+" or "-" being interpreted as a valid int literal.
Reported by Takahiro Nakayama.
Modules/stropmodule.c