@djangoproject · Post #244 · 01/28/2017, 12:28 PM
https://docs.python.org/3/library/marshal.html#module-marshal marshal — Internal Python #object_serialization 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).