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

Serhiy Storchaka report at bugs.python.org
Sat Dec 21 13:18:15 EST 2019


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

It cannot be suppressed by the code in the module caused a warning, because the warning is emitted at compile time. You need to silence it before compiling that module. Once you have compiled it, warning will no longer be emitted.

----------

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


More information about the Python-bugs-list mailing list