diff options
author | Guido van Rossum <guido@python.org> | 1999-02-22 16:18:44 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-02-22 16:18:44 +0000 |
commit | 5bd69db9f03ef1fa5ccaefd6ddd43291f9e7532c (patch) | |
tree | 0d676e2b08c42597e26f8c91e8b780ff9a95a822 /Python/sysmodule.c | |
parent | 0fb7a37667e78f96392b5cfa6e82f04551724684 (diff) | |
download | cpython-git-5bd69db9f03ef1fa5ccaefd6ddd43291f9e7532c.tar.gz |
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.
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions