Closed wetor closed 1 year ago
Patch coverage: 100.00
% and no project coverage change.
Comparison is base (
652daef
) 74.42% compared to head (9ecc919
) 74.42%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Does this change break this (which is correct)?
$ gpython
[snip]
>>>
>>> 07
Compile error:
File "<string>", line 1, offset 0
07
SyntaxError: 'illegal decimal with leading zero'
>>>
I tried it and it didn't affect here, because this PR fixes ValueError: "invalid literal for int() with base 10: '07'" at "sigils"
error.
https://docs.python.org/3.4/library/functions.html#int
If base=0, an exception will be thrown when executing
int("07")