Ammar Askar <am...@ammaraskar.com> 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 <rep...@bugs.python.org>
<https://bugs.python.org/issue34850>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to