[Python-ideas] An identity dict

Greg Ewing greg.ewing at canterbury.ac.nz
Mon May 31 02:37:27 CEST 2010


Mike Graham wrote:

> Should an ID Dict really be a weak ref identity dict? ... Is
> this the main basic use case?

No, I don't think it's the main use case, although if an
identitydict is added, it would make sense to also add a
WeakIdentityDict to the weakref module.

-- 
Greg



More information about the Python-ideas mailing list