Ammar Askar <[email protected]> added the comment:
That would potentially let an invalid usage slip through, since you know what
you're doing, you can suppress the warning with:
warnings.filterwarnings('ignore', category=SyntaxWarning, message='"is" with
a literal')
----------
nosy: +ammar2
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue34850>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com