This module contains functions that can read and write Python
values in a binary format. The format is specific to Python, but
independent of machine architecture issues (e.g., you can write
a Python value to a file on a PC, transport the file to a Sun,
and read it back there). Details of the format are undocumented
on purpose; it may change between Python versions (although it
rarely does).3.12 This is not a general ``persistence'' module.
For general persistence and transfer of Python objects through
RPC calls, see the modules pickle and shelve. The marshal module
exists mainly to support reading and writing the ``pseudo-
compiled'' code for Python modules of .pyc files. Therefore, the
Python maintainers reserve the right to modify the marshal
format in backward incompatible ways should the need arise. If
you're serializing and de-serializing Python objects, use the
pickle module instead. Not all Python object types are
supported; in general, only objects whose value is independent
from a particular invocati