[issue34850] Emit a syntax warning for "is" with a literal

Barry A. Warsaw report at bugs.python.org
Sun Sep 30 14:28:54 EDT 2018


Barry A. Warsaw <barry at python.org> added the comment:

This is a nice approach to the problem.  I completely agree that we cannot change `is` semantics.  I'm okay with leaving it to checkers to catch `== None`.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34850>
_______________________________________


More information about the Python-bugs-list mailing list