[Python-checkins] CVS: python/dist/src/Modules stropmodule.c

Guido van Rossum guido@cnri.reston.va.us
Mon, 22 Feb 1999 11:18:46 -0500 (EST)

Update of /projects/cvsroot/python/dist/src/Modules
In directory eric:/projects/python/develop/guido/src/Modules

Modified Files:
Log Message:
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.