Marshal vs pickle...

Lawson English lenglish5 at cox.net
Sat Apr 25 15:47:45 EDT 2009


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?


Thanks.


Lawson



More information about the Python-list mailing list