New submission from Philip R Brenan <philiprbre...@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: philiprbre...@gmail.com
priority: normal
severity: normal
status: open
title: Syntax error rather than run time error
type: compile error

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41392>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to