[Python-ideas] Make "is" checks on non-singleton literals errors

Serhiy Storchaka storchaka at gmail.com
Wed Oct 10 19:13:22 CEST 2012


On 10.10.12 17:21, Georg Brandl wrote:
> Arguably, that should be "if x is not False", but it probably doesn't
> matter too much.

Some old code can use 1/0 instead True/False. This change will break 
such code.




More information about the Python-ideas mailing list