mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue 4842, patch 2/2: int('3L') should be invalid in Python 3.x.
This commit is contained in:
parent
8dd05147d6
commit
9ffc0205a6
3 changed files with 13 additions and 2 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue