On 02/03/2014 10:59, Ben Finney wrote:
Marko Rauhamaa <ma...@pacujo.net> writes:

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

The unreliability is “will objects defined elsewhere have a different
identity?”

That question is not interesting in my context, and has no bearing on
the correctness of the program.

You keep vacillating between two positions: pick one for the context.

Either you care about object identity in this context, and the above
observation is relevant.

Or, you don't care about object identity in this context, and you should
avoid ‘is’ and use ‘==’.

But you cannot have both.


Unless you're a troll.

--
My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language.

Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com


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

Reply via email to