[ZODB-Dev] __hash__ methods for OOBTrees

Neil Schemenauer nas@mems-exchange.org
Thu, 25 Jul 2002 18:07:49 -0400


Is it safe to have the __hash__ method of a key object to return
id(self)?  I'm pretty sure it works for dictionaries or
PersistentMappings but I don't know about BTrees.

  Neil