[New-bugs-announce] [issue35703] Underscores in numeric literals cannot be before or after decimal (.)
Yoong Hor Meng
report at bugs.python.org
Thu Jan 10 03:38:15 EST 2019
New submission from Yoong Hor Meng <yoonghm at gmail.com>:
s = 1_234.567_8
print(float(s)) # It works
s = 1_234._567
print(float(s)) # It does not work
s = 1_234_.567
print(float(s)) # It does not work too
----------
components: Interpreter Core
messages: 333368
nosy: yoonghm
priority: normal
severity: normal
status: open
title: Underscores in numeric literals cannot be before or after decimal (.)
type: crash
versions: Python 3.6, Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35703>
_______________________________________
More information about the New-bugs-announce
mailing list