On Thu, Dec 11, 2014 at 1:18 PM, Rustom Mody <rustompm...@gmail.com> wrote:
> But I have a different question -- can this be demonstrated without the 'is'?
> Because to me 'is' -- equivalently id -- is a code-smell and is like
> explaining funny behavior by showing the dis -- like
> $ gcc -S ...
> -- output.
>
> It can always explain, but indicates that the semantics is not (sufficiently) 
> abstract in this aspect

Not so. Object identity is a fundamental part of Python.
Indistinguishable-but-distinct mutable objects are crucial to Python's
behaviour.

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

Reply via email to