Marshal vs pickle...

Lawson English lenglish5 at
Sat Apr 25 21:47:45 CEST 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?



More information about the Python-list mailing list