[Python-Dev] collections.idset and collections.iddict?

Brett Cannon brett at python.org
Mon Mar 6 23:29:06 CET 2006


On 3/6/06, Neil Schemenauer <nas at arctrix.com> wrote:
> I occasionally need dictionaries or sets that use object identity
> rather than __hash__ to store items.  Would it be appropriate to add
> these to the collections module?

Yeah, that would be the place for them.  But would it be more helpful
to generalize this to having something in collections that worked like
DSU for dicts and their hash value?

-Brett


More information about the Python-Dev mailing list