From 9ffc0205a62972fa8faaf2d4577d3a3efaeb80d9 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Tue, 20 Jan 2009 20:45:53 +0000 Subject: Issue 4842, patch 2/2: int('3L') should be invalid in Python 3.x. --- Objects/longobject.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'Objects/longobject.c') diff --git a/Objects/longobject.c b/Objects/longobject.c index b7ba7960ea..46efe5f291 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -1990,8 +1990,6 @@ digit beyond the first. goto onError; if (sign < 0) Py_SIZE(z) = -(Py_SIZE(z)); - if (*str == 'L' || *str == 'l') - str++; while (*str && isspace(Py_CHARMASK(*str))) str++; if (*str != '\0') -- cgit v1.2.1