[issue34850] Emit a syntax warning for "is" with a literal
Bachsau
report at bugs.python.org
Sun Jun 9 15:34:32 EDT 2019
Bachsau <web at bachsau.name> added the comment:
This is bullshit. SyntaxWarnings should be raised on problems with the *syntax* not for ProgrammerMightBeDumb errors. There are a whole lot of things a programmer not knowing the language could do wrong. But these are syntactically valid expressions and it is not the purpose of a compiler to teach.
----------
nosy: +Bachsau
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34850>
_______________________________________
More information about the Python-bugs-list
mailing list