[Doc-SIG] Does the "is" operator only matter for mutable object?
Fred Drake
fdrake at acm.org
Mon Mar 7 05:09:33 CET 2011
On Sat, Mar 5, 2011 at 7:45 PM, Laura Creighton <lac at openend.se> wrote:
> So maybe what we need to do is to explictly state that some implementations
> have chosen to represent objects which are equivalent as the exact same
> object, but that you should not rely on this behaviour because it is
> an implementation detail?
That still seems too complicated. Pointing out that equality does not
imply identity, regardless of type, should be sufficient for the
purpose of describing "is".
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
"A storm broke loose in my mind." --Albert Einstein
More information about the Doc-SIG
mailing list