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

Gregory P. Smith report at bugs.python.org
Sat Dec 1 04:22:41 EST 2018


Gregory P. Smith <greg at krypto.org> added the comment:

Oh neat, I didn't realize that Nathaniel.  That makes such warnings much more useful.

I'm fine if you go ahead with this change.  In the unlikely event it turns out to cause user annoyance problems in betas due to third party code that can't be updated, we can reconsider.

----------

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


More information about the Python-bugs-list mailing list