[New-bugs-announce] [issue41392] Syntax error rather than run time error
Philip R Brenan
report at bugs.python.org
Sat Jul 25 07:58:35 EDT 2020
New submission from Philip R Brenan <philiprbrenan at gmail.com>:
a = false
# Traceback (most recent call last):
# File "test.py", line 1, in <module>
# a = false
# NameError: name 'false' is not defined
# Compilation finished successfully.
Please make this a syntax error rather than a run time error as the user intention is obvious and there cannot possibly be a variable called 'false' yet.
----------
components: Build
messages: 374252
nosy: philiprbrenan at gmail.com
priority: normal
severity: normal
status: open
title: Syntax error rather than run time error
type: compile error
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41392>
_______________________________________
More information about the New-bugs-announce
mailing list