[ZODB-Dev] PersistentMapping copy

Joshua Reynolds joshuar@isogen.com
Wed, 16 Jan 2002 10:05:00 -0600


Howdy all,
Sorry if I'm totally out of the loop here.

Is there any compelling reason not to have a copy method on 
PersistentMapping?  I am trying to update to the latest ZODB and i see 
that it is gone.  I was thinking something along the lines of

     def __copy__(self):
         return PersistentMapping(self.data.copy())


Joshua

-- 
Joshua Reynolds | Software

Isogen International
Office: 512-380-0347
Cell:   512-743-3865
1016 La Posada Suite 240
Austin, TX 78752