From this point, you can safely assume that what's pickled with pickle.dumps() in Python 2 can be converted back to the real object in Python 3 with pickle.loads(), and vise versa. However, note that ...
Supports deserializing Python Pickle data into Ruby objects. Optionally supports only parsing Python Pickle data streams for debugging purposes. Supports Pickle protocol 0, protocol 1, protocol 2, ...
Pickle is a built-in library in Python that can serialize and deserialize Python objects and data structures. However, the process of pickle deserialization has been confirmed as a hazardous operation ...