Ben Finney <ben+pyt...@benfinney.id.au>:

> No. I'm telling you that ‘is’ is *wrong* for comparing strings,
> because it is unreliable.

No, it isn't as long as the string object references have a common
assignment "pedigree." Assignment (including parameter passing) is
guaranteed to preserve identity of any object.


Marko
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to