In article <[email protected]>,
 Cameron Simpson <[email protected]> wrote:

> The "is" test is more direct and less subject to iffiness because the longer 
> expression using id() leaves more scope/time for things to change, and of 
> course "id" itself can be rebound to something weird.

Not to mention that Python is case-sensitive and in the code as 
presented by the OP:

>>>>Id(x) == id(y)

those are two different functions :-)
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to