'is not' or '!='

Thomas Rachel nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915 at spamschutz.glglgl.de
Tue Aug 19 05:49:45 EDT 2014


Am 19.08.2014 00:04 schrieb Chris Kaynor:

> In each of these cases, the behavior may be different in other
> implementations or versions of Python.

And, the most important thing, in each of these cases, using "is" is 
semantically wrong, so no matter how different versions behave.

If you ask the wrong question, you might get a wrong answer.


Thomas



More information about the Python-list mailing list