Issue #2886: [3.6] SyntaxError on float literals with underscores in the fractional part (pypy/pypy)
11 Sep
2018
11 Sep
'18
4:57 p.m.
New issue 2886: [3.6] SyntaxError on float literals with underscores in the fractional part https://bitbucket.org/pypy/pypy/issues/2886/36-syntaxerror-on-float-literals... Gary Wang: CPython 3.6: ``` $ python3.6 -c 'print(0.00_2)' 0.002 ``` PyPy 3.6 nightly: ``` $ ./pypy3 -c 'print(0.00_2)' File "<string>", line 1 print(0.00_2) ^ SyntaxError: invalid syntax (expected ')') ```
2251
Age (days ago)
2251
Last active (days ago)
0 comments
1 participants
participants (1)
-
Gary Wang