Terry J. Reedy <tjre...@udel.edu> added the comment:

IDLE's Shell has treated SyntaxWarnings as errors since 2001.  I don't know if 
any other IDE's do the same.  Raymond's example did not concern me, as I think 
not calling known non-callables is preferable.

But not executing literal-with-is code, such as "a = 1; a is 1" and "0 is ''" 
is wrong.  See msg349431 of #34857 for more discussion of these cases.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue15248>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to