[Python-ideas] Warning on conditionals

f p fcoaps at yahoo.com
Tue Dec 17 14:07:43 CET 2013


Hi, I'm new here,

There are cases of bad use of int or str constants without comparison operators in the if statement as shown in this example:

http://stackoverflow.com/questions/20633818/python-if-elif-always-not-working.

Maybe the case in which the if statement is defeated should rate a warning.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20131217/36f19074/attachment.html>


More information about the Python-ideas mailing list