PyDocs

Nav

Data Persistence

DEFAULT_PROTOCOL

pickle

data
An integer, the default protocol version used for pickling. May be less than HIGHEST_PROTOCOL. Currently the default protocol is 5, introduced in Python 3.8 and incompatible with previous versions. This version introduces support for out-of-band buffers, where PEP 3118-compatible data can be transmitted separately from the main pickle stream.
Changed in 3.0, 3.8, 3.14
  • 3.0: The default protocol is 3.
  • 3.8: The default protocol is 4.
  • 3.14: The default protocol is 5.
0 Examples
No examples for pickle/DEFAULT_PROTOCOL.
See Also
No see-alsos for pickle/DEFAULT_PROTOCOL
0 Notes
No notes for DEFAULT_PROTOCOL