[ZODB-Dev] RE: PersistentMapping

Thomas Lotze tl at gocept.com
Thu Nov 17 11:28:29 EST 2005


Tim Peters wrote:

>     The need for this class has been largely supplanted by the
>     ability to subclass directly from dict ...

Yes, that's exactly what I was referring to.

> I agree pop() should be added.  Work up a patch, or at least open a bug
> report?

I can do the patch, and I should even be able to check it in. Would
anybody object?

> Note that there are two relevant classes, PersistentDict and
> PersistentMapping.  The code duplication there sucks (particularly because
> they can-- and do --get out of synch), and one of them should be deprecated.

Was there ever a semantic difference, maybe along the lines of mapping
interface vs dict implementation?

-- 
Thomas



More information about the ZODB-Dev mailing list