New submission from Yoong Hor Meng <yoon...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue35703> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com