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

Jesus Cea jcea at argo.es
Thu Jan 10 13:43:12 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jim Fulton 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.
> 
> I  suspect ZODB is also the primary user of the pickle module.

Durus, another (excellent) persistence system for Python also uses this
method.

- --
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at argo.es http://www.argo.es/~jcea/ _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
                               _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBR4YS4Jlgi5GaxT1NAQInxgQAlzoD5d9srVS5X+h86CXzPtk1S/R9VRLX
r8374kqLLla3wjKKuJXt+dksiKvMbtwpLEYIGJf9EP2NsSm4Xnq4iMtqXxR9r+mZ
4Vr57p2Rqf168r1qMO7frndjxR1YHkVkap0sTE7s0euJOuTjNTtljwko/Fo8TjY6
9ICMujOLaYM=
=uAL6
-----END PGP SIGNATURE-----


More information about the Python-3000 mailing list