"/a" is not "/a" ?

John Nagle nagle at animats.com
Fri Mar 6 21:37:48 CET 2009


Gary Herron wrote:
> Emanuele D'Arrigo wrote:
>> Hi everybody,
>>
>> while testing a module today I stumbled on something that I can work
>> around but I don't quite understand.   
> 
> *Do NOT use "is" to compare immutable types.*    **Ever! **

    Then it should be a detected error to do so.

				John Nagle



More information about the Python-list mailing list