Marshal vs pickle...
Erik Max Francis
max at alcyone.com
Sat Apr 25 22:54:30 CEST 2009
Lawson English wrote:
> Marshalling is only briefly mentioned in most python books I have, and
> "pickling" is declared teh preferred method for serialization.
> I read somewhere that Marshalling is version-dependent while pickling is
> not, but can't find that reference. OTOH, pickling can lead to loading
> of malicious code (I understand) while marshalling only handles basic
> Python types?
> Could anyone point me to a reasonable discussion of the pros and cons of
> each method for serialization?
They're both standard libraries and the official documentation for them
on python.org describes their functionality in detail.
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 18 N 121 57 W && AIM, Y!M, Skype erikmaxfrancis
The hour which gives us life begins to take it away.
More information about the Python-list