[Python-Dev] The memo of pickle

Martin v. Loewis martin@v.loewis.de
07 Aug 2002 08:15:56 +0200


Greg Ewing <greg@cosc.canterbury.ac.nz> writes:

> It occurs to me that what you really want here is a special
> kind of dictionary that uses "is" instead of "==" to compare
> key values.
> 
> Or is that what was meant by an "identity dictionary"?

Yes; that would be a dictionary that uses identity instead of
equality.

Regards,
Martin