[Python-Dev] (not) redefining is

Tim Peters tim.one at comcast.net
Sat Mar 20 00:40:00 EST 2004


[Jewett, Jim J]
> ...
> I'm still a bit worried about a comment (which I can no longer
> find) suggesting a change for {}, so that
>
> 	>>> {} is {}
>       True
>
> I don't see this in 2.3, and would be very surprised (and
> disappointed) if it started to happen in 2.4, precisely because
> dictionaries are mutable objects that should work.

Won't happen.  Indeed, the language Reference manual guarantees this (and
always has).




More information about the Python-Dev mailing list