[issue24003] variable naming

Steven D'Aprano report at bugs.python.org
Sun Apr 19 12:10:19 CEST 2015


Steven D'Aprano added the comment:

This is not a bug. "while" is a keyword, it is part of Python's syntax, and you are not permitted to use keywords as variable names. This is not an accident, but a deliberate decision.

----------
nosy: +steven.daprano
resolution:  -> not a bug
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24003>
_______________________________________


More information about the Python-bugs-list mailing list