From: Guido van Rossum Date: Sun, 5 May 1991 20:05:35 +0000 (+0000) Subject: Added long integer support. X-Git-Tag: v0.9.8~957 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e3a204fe47b3a923201c4d7f6dff17e6097ddf52;p=thirdparty%2FPython%2Fcpython.git Added long integer support. --- diff --git a/Python/compile.c b/Python/compile.c index 59cdc0c13878..5e6a18edafe4 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -364,6 +364,10 @@ parsenumber(s) } return newintobject(x); } + if (*end == 'l' || *end == 'L') { + extern object *long_scan(); + return long_scan(s, 0); + } errno = 0; xx = strtod(s, &end); if (*end == '\0') {