[Python-3000] Is pickle's persistent_id worth keeping?

Alexandre Vassalotti alexandre at peadrop.com
Mon Jan 7 16:17:04 CET 2008

On Jan 5, 2008 10:58 PM, Phillip J. Eby <pje at telecommunity.com> wrote:
> Chandler's .chex (Chandler export) files use this to handle class
> moves, or data for a missing or broken plugin.  If/when we'll ever
> use Python 3 is an open question, but if we did, we'd certainly
> continue to need it.

On Jan 6, 2008 1:35 PM, Jim Fulton <jim at zope.com> wrote:
> Pickle always memoized objects.  persistent_id is useful for
> separating data over multiple pickles as is done in a database.  IOW,
> as its name implies, it is primarily useful for persistence systems.
> I don't think that ZODB is the only persistence system built on
> pickle, but perhaps I'm wrong.

>From the responses, it is clear that this feature is still needed.

-- Alexandre

More information about the Python-3000 mailing list