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

Nathaniel Smith report at bugs.python.org
Sun Sep 30 22:32:44 EDT 2018


Nathaniel Smith <njs at pobox.com> added the comment:

Yeah, something like that. Or sys.enable_chaos_mode(), that pytest or whoever could call before running tests.

----------

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


More information about the Python-bugs-list mailing list