[ZODB-Dev] How can I append Persistent mechanism to OrderedDict class ?

2011-01-30 Thread Stéphane Klein
Hi, I would like to use a Persistent Ordered dict. I use OrderedDict (http://pypi.python.org/pypi/ordereddict). How can I append Persistent mechanism to this OrderedDict class ? Thanks for your help. Regards, Stephane -- Stéphane Klein steph...@harobed.org blog: http://stephane-klein.info

Re: [ZODB-Dev] How can I append Persistent mechanism to OrderedDict class ?

2011-01-30 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stéphane Klein schrieb: Hi, I would like to use a Persistent Ordered dict. I use OrderedDict (http://pypi.python.org/pypi/ordereddict). How can I append Persistent mechanism to this OrderedDict class ? What is the particular problem? As look as

Re: [ZODB-Dev] How can I append Persistent mechanism to OrderedDict class ?

2011-01-30 Thread Vincent Pelletier
Le dimanche 30 janvier 2011 09:52:32, Stéphane Klein a écrit : How can I append Persistent mechanism to this OrderedDict class ? You should probably read the code for PersistentMapping[1] and adapt it to OrderedDict's API. [1]