René's URL Explorer Experiment


Title: pickle — Python object serialization — Python 3.15.0a5 documentation

Open Graph Title: pickle — Python object serialization

Description: Source code: Lib/pickle.py The pickle module implements binary protocols for serializing and de-serializing a Python object structure. “Pickling” is the process whereby a Python object hierarchy is...

Open Graph Description: Source code: Lib/pickle.py The pickle module implements binary protocols for serializing and de-serializing a Python object structure. “Pickling” is the process whereby a Python object hierarchy is...

Opengraph URL: https://docs.python.org/3/library/pickle.html

direct link

Domain: docs.python.org

og:typewebsite
og:site_namePython documentation
og:image:width1146
og:image:height600
og:imagehttps://docs.python.org/3.15/_images/social_previews/summary_library_pickle_60b2042b.png
og:image:altSource code: Lib/pickle.py The pickle module implements binary protocols for serializing and de-serializing a Python object structure. “Pickling” is the process whereby a Python object hierarchy is...
twitter:cardsummary_large_image
theme-color#3776ab
readthedocs-addons-api-version1

Links:

https://www.python.org/
Table of Contentshttps://docs.python.org/dev/contents.html
pickle — Python object serializationhttps://docs.python.org/dev/library/pickle.html
Relationship to other Python moduleshttps://docs.python.org/dev/library/pickle.html#relationship-to-other-python-modules
Comparison with marshalhttps://docs.python.org/dev/library/pickle.html#comparison-with-marshal
Comparison with jsonhttps://docs.python.org/dev/library/pickle.html#comparison-with-json
Data stream formathttps://docs.python.org/dev/library/pickle.html#data-stream-format
Module Interfacehttps://docs.python.org/dev/library/pickle.html#module-interface
What can be pickled and unpickled?https://docs.python.org/dev/library/pickle.html#what-can-be-pickled-and-unpickled
Pickling Class Instanceshttps://docs.python.org/dev/library/pickle.html#pickling-class-instances
Persistence of External Objectshttps://docs.python.org/dev/library/pickle.html#persistence-of-external-objects
Dispatch Tableshttps://docs.python.org/dev/library/pickle.html#dispatch-tables
Handling Stateful Objectshttps://docs.python.org/dev/library/pickle.html#handling-stateful-objects
Custom Reduction for Types, Functions, and Other Objectshttps://docs.python.org/dev/library/pickle.html#custom-reduction-for-types-functions-and-other-objects
Out-of-band Buffershttps://docs.python.org/dev/library/pickle.html#out-of-band-buffers
Provider APIhttps://docs.python.org/dev/library/pickle.html#provider-api
Consumer APIhttps://docs.python.org/dev/library/pickle.html#consumer-api
Examplehttps://docs.python.org/dev/library/pickle.html#example
Restricting Globalshttps://docs.python.org/dev/library/pickle.html#restricting-globals
Performancehttps://docs.python.org/dev/library/pickle.html#performance
Exampleshttps://docs.python.org/dev/library/pickle.html#examples
Command-line interfacehttps://docs.python.org/dev/library/pickle.html#command-line-interface
Data Persistencehttps://docs.python.org/dev/library/persistence.html
copyreg — Register pickle support functionshttps://docs.python.org/dev/library/copyreg.html
Report a bughttps://docs.python.org/dev/bugs.html
Show source https://github.com/python/cpython/blob/main/Doc/library/pickle.rst?plain=1
indexhttps://docs.python.org/dev/genindex.html
moduleshttps://docs.python.org/dev/py-modindex.html
nexthttps://docs.python.org/dev/library/copyreg.html
previoushttps://docs.python.org/dev/library/persistence.html
Pythonhttps://www.python.org/
3.15.0a5 Documentationhttps://docs.python.org/dev/index.html
The Python Standard Libraryhttps://docs.python.org/dev/library/index.html
Data Persistencehttps://docs.python.org/dev/library/persistence.html
pickle — Python object serializationhttps://docs.python.org/dev/library/pickle.html
https://docs.python.org/dev/library/pickle.html#module-pickle
Lib/pickle.pyhttps://github.com/python/cpython/tree/main/Lib/pickle.py
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
binary filehttps://docs.python.org/dev/glossary.html#term-binary-file
bytes-like objecthttps://docs.python.org/dev/glossary.html#term-bytes-like-object
[1]https://docs.python.org/dev/library/pickle.html#id7
hmachttps://docs.python.org/dev/library/hmac.html#module-hmac
jsonhttps://docs.python.org/dev/library/json.html#module-json
Comparison with jsonhttps://docs.python.org/dev/library/pickle.html#comparison-with-json
https://docs.python.org/dev/library/pickle.html#relationship-to-other-python-modules
https://docs.python.org/dev/library/pickle.html#comparison-with-marshal
marshalhttps://docs.python.org/dev/library/marshal.html#module-marshal
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
marshalhttps://docs.python.org/dev/library/marshal.html#module-marshal
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
marshalhttps://docs.python.org/dev/library/marshal.html#module-marshal
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
marshalhttps://docs.python.org/dev/library/marshal.html#module-marshal
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
marshalhttps://docs.python.org/dev/library/marshal.html#module-marshal
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
marshalhttps://docs.python.org/dev/library/marshal.html#module-marshal
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
https://docs.python.org/dev/library/pickle.html#comparison-with-json
JSON (JavaScript Object Notation)https://json.org
specific object APIshttps://docs.python.org/dev/library/pickle.html#pickle-inst
jsonhttps://docs.python.org/dev/library/json.html#module-json
https://docs.python.org/dev/library/pickle.html#data-stream-format
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
compresshttps://docs.python.org/dev/library/archiving.html
pickletoolshttps://docs.python.org/dev/library/pickletools.html#module-pickletools
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
pickletoolshttps://docs.python.org/dev/library/pickletools.html#module-pickletools
new-style classeshttps://docs.python.org/dev/glossary.html#term-new-style-class
PEP 307https://peps.python.org/pep-0307/
byteshttps://docs.python.org/dev/library/stdtypes.html#bytes
PEP 3154https://peps.python.org/pep-3154/
PEP 574https://peps.python.org/pep-0574/
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
shelvehttps://docs.python.org/dev/library/shelve.html#module-shelve
https://docs.python.org/dev/library/pickle.html#module-interface
dumps()https://docs.python.org/dev/library/pickle.html#pickle.dumps
loads()https://docs.python.org/dev/library/pickle.html#pickle.loads
Picklerhttps://docs.python.org/dev/library/pickle.html#pickle.Pickler
Unpicklerhttps://docs.python.org/dev/library/pickle.html#pickle.Unpickler
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
https://docs.python.org/dev/library/pickle.html#pickle.HIGHEST_PROTOCOL
protocol versionhttps://docs.python.org/dev/library/pickle.html#pickle-protocols
dump()https://docs.python.org/dev/library/pickle.html#pickle.dump
dumps()https://docs.python.org/dev/library/pickle.html#pickle.dumps
Picklerhttps://docs.python.org/dev/library/pickle.html#pickle.Pickler
https://docs.python.org/dev/library/pickle.html#pickle.DEFAULT_PROTOCOL
protocol versionhttps://docs.python.org/dev/library/pickle.html#pickle-protocols
HIGHEST_PROTOCOLhttps://docs.python.org/dev/library/pickle.html#pickle.HIGHEST_PROTOCOL
PEP 3118https://peps.python.org/pep-3118/
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
https://docs.python.org/dev/library/pickle.html#pickle.dump
file objecthttps://docs.python.org/dev/glossary.html#term-file-object
Picklerhttps://docs.python.org/dev/library/pickle.html#pickle.Pickler
https://docs.python.org/dev/library/pickle.html#pickle.dumps
byteshttps://docs.python.org/dev/library/stdtypes.html#bytes
Picklerhttps://docs.python.org/dev/library/pickle.html#pickle.Pickler
https://docs.python.org/dev/library/pickle.html#pickle.load
file objecthttps://docs.python.org/dev/glossary.html#term-file-object
Unpicklerhttps://docs.python.org/dev/library/pickle.html#pickle.Unpickler
https://docs.python.org/dev/library/pickle.html#pickle.loads
bytes-like objecthttps://docs.python.org/dev/glossary.html#term-bytes-like-object
Unpicklerhttps://docs.python.org/dev/library/pickle.html#pickle.Unpickler
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
https://docs.python.org/dev/library/pickle.html#pickle.PickleError
Exceptionhttps://docs.python.org/dev/library/exceptions.html#Exception
https://docs.python.org/dev/library/pickle.html#pickle.PicklingError
Picklerhttps://docs.python.org/dev/library/pickle.html#pickle.Pickler
PickleErrorhttps://docs.python.org/dev/library/pickle.html#pickle.PickleError
What can be pickled and unpickled?https://docs.python.org/dev/library/pickle.html#pickle-picklable
https://docs.python.org/dev/library/pickle.html#pickle.UnpicklingError
PickleErrorhttps://docs.python.org/dev/library/pickle.html#pickle.PickleError
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
Picklerhttps://docs.python.org/dev/library/pickle.html#pickle.Pickler
Unpicklerhttps://docs.python.org/dev/library/pickle.html#pickle.Unpickler
PickleBufferhttps://docs.python.org/dev/library/pickle.html#pickle.PickleBuffer
https://docs.python.org/dev/library/pickle.html#pickle.Pickler
HIGHEST_PROTOCOLhttps://docs.python.org/dev/library/pickle.html#pickle.HIGHEST_PROTOCOL
DEFAULT_PROTOCOLhttps://docs.python.org/dev/library/pickle.html#pickle.DEFAULT_PROTOCOL
HIGHEST_PROTOCOLhttps://docs.python.org/dev/library/pickle.html#pickle.HIGHEST_PROTOCOL
io.BytesIOhttps://docs.python.org/dev/library/io.html#io.BytesIO
out-of-bandhttps://docs.python.org/dev/library/pickle.html#pickle-oob
https://docs.python.org/dev/library/pickle.html#pickle.Pickler.dump
https://docs.python.org/dev/library/pickle.html#pickle.Pickler.persistent_id
persistent_id()https://docs.python.org/dev/library/pickle.html#pickle.Pickler.persistent_id
Picklerhttps://docs.python.org/dev/library/pickle.html#pickle.Pickler
Unpickler.persistent_load()https://docs.python.org/dev/library/pickle.html#pickle.Unpickler.persistent_load
persistent_id()https://docs.python.org/dev/library/pickle.html#pickle.Pickler.persistent_id
Persistence of External Objectshttps://docs.python.org/dev/library/pickle.html#pickle-persistent
https://docs.python.org/dev/library/pickle.html#pickle.Pickler.dispatch_table
copyreg.pickle()https://docs.python.org/dev/library/copyreg.html#copyreg.pickle
__reduce__()https://docs.python.org/dev/library/pickle.html#object.__reduce__
dispatch_tablehttps://docs.python.org/dev/library/pickle.html#pickle.Pickler.dispatch_table
copyreghttps://docs.python.org/dev/library/copyreg.html#module-copyreg
dispatch_tablehttps://docs.python.org/dev/library/pickle.html#pickle.Pickler.dispatch_table
Picklerhttps://docs.python.org/dev/library/pickle.html#pickle.Pickler
dispatch_tablehttps://docs.python.org/dev/library/pickle.html#pickle.Pickler.dispatch_table
Dispatch Tableshttps://docs.python.org/dev/library/pickle.html#pickle-dispatch
https://docs.python.org/dev/library/pickle.html#pickle.Pickler.reducer_override
Picklerhttps://docs.python.org/dev/library/pickle.html#pickle.Pickler
dispatch_tablehttps://docs.python.org/dev/library/pickle.html#pickle.Pickler.dispatch_table
__reduce__()https://docs.python.org/dev/library/pickle.html#object.__reduce__
NotImplementedhttps://docs.python.org/dev/library/constants.html#NotImplemented
dispatch_tablehttps://docs.python.org/dev/library/pickle.html#pickle.Pickler.dispatch_table
Custom Reduction for Types, Functions, and Other Objectshttps://docs.python.org/dev/library/pickle.html#reducer-override
https://docs.python.org/dev/library/pickle.html#pickle.Pickler.fast
Picklerhttps://docs.python.org/dev/library/pickle.html#pickle.Pickler
pickletools.optimize()https://docs.python.org/dev/library/pickletools.html#pickletools.optimize
https://docs.python.org/dev/library/pickle.html#pickle.Pickler.clear_memo
https://docs.python.org/dev/library/pickle.html#pickle.Unpickler
io.BufferedIOBasehttps://docs.python.org/dev/library/io.html#io.BufferedIOBase
io.BytesIOhttps://docs.python.org/dev/library/io.html#io.BytesIO
datetimehttps://docs.python.org/dev/library/datetime.html#datetime.datetime
datehttps://docs.python.org/dev/library/datetime.html#datetime.date
timehttps://docs.python.org/dev/library/datetime.html#datetime.time
Picklerhttps://docs.python.org/dev/library/pickle.html#pickle.Pickler
dump()https://docs.python.org/dev/library/pickle.html#pickle.dump
dumps()https://docs.python.org/dev/library/pickle.html#pickle.dumps
out-of-bandhttps://docs.python.org/dev/library/pickle.html#pickle-oob
https://docs.python.org/dev/library/pickle.html#pickle.Unpickler.load
https://docs.python.org/dev/library/pickle.html#pickle.Unpickler.persistent_load
UnpicklingErrorhttps://docs.python.org/dev/library/pickle.html#pickle.UnpicklingError
persistent_load()https://docs.python.org/dev/library/pickle.html#pickle.Unpickler.persistent_load
UnpicklingErrorhttps://docs.python.org/dev/library/pickle.html#pickle.UnpicklingError
Persistence of External Objectshttps://docs.python.org/dev/library/pickle.html#pickle-persistent
https://docs.python.org/dev/library/pickle.html#pickle.Unpickler.find_class
strhttps://docs.python.org/dev/library/stdtypes.html#str
find_class()https://docs.python.org/dev/library/pickle.html#pickle.Unpickler.find_class
Restricting Globalshttps://docs.python.org/dev/library/pickle.html#pickle-restrict
auditing eventhttps://docs.python.org/dev/library/sys.html#auditing
https://docs.python.org/dev/library/pickle.html#pickle.PickleBuffer
buffer-providinghttps://docs.python.org/dev/c-api/buffer.html#bufferobjects
bytes-like objecthttps://docs.python.org/dev/glossary.html#term-bytes-like-object
PickleBufferhttps://docs.python.org/dev/library/pickle.html#pickle.PickleBuffer
memoryviewhttps://docs.python.org/dev/library/stdtypes.html#memoryview
PickleBufferhttps://docs.python.org/dev/library/pickle.html#pickle.PickleBuffer
out-of-band serializationhttps://docs.python.org/dev/library/pickle.html#pickle-oob
https://docs.python.org/dev/library/pickle.html#pickle.PickleBuffer.raw
memoryviewhttps://docs.python.org/dev/library/stdtypes.html#memoryview
BufferErrorhttps://docs.python.org/dev/library/exceptions.html#BufferError
https://docs.python.org/dev/library/pickle.html#pickle.PickleBuffer.release
https://docs.python.org/dev/library/pickle.html#what-can-be-pickled-and-unpickled
NotImplementedhttps://docs.python.org/dev/library/constants.html#NotImplemented
defhttps://docs.python.org/dev/reference/compound_stmts.html#def
lambdahttps://docs.python.org/dev/reference/expressions.html#lambda
__getstate__()https://docs.python.org/dev/library/pickle.html#object.__getstate__
Pickling Class Instanceshttps://docs.python.org/dev/library/pickle.html#pickle-inst
PicklingErrorhttps://docs.python.org/dev/library/pickle.html#pickle.PicklingError
RecursionErrorhttps://docs.python.org/dev/library/exceptions.html#RecursionError
sys.setrecursionlimit()https://docs.python.org/dev/library/sys.html#sys.setrecursionlimit
qualified namehttps://docs.python.org/dev/glossary.html#term-qualified-name
[2]https://docs.python.org/dev/library/pickle.html#id8
[3]https://docs.python.org/dev/library/pickle.html#id9
__setstate__()https://docs.python.org/dev/library/pickle.html#object.__setstate__
https://docs.python.org/dev/library/pickle.html#pickling-class-instances
__init__()https://docs.python.org/dev/reference/datamodel.html#object.__init__
https://docs.python.org/dev/library/pickle.html#object.__getnewargs_ex__
__getnewargs_ex__()https://docs.python.org/dev/library/pickle.html#object.__getnewargs_ex__
__new__()https://docs.python.org/dev/reference/datamodel.html#object.__new__
__new__()https://docs.python.org/dev/reference/datamodel.html#object.__new__
__new__()https://docs.python.org/dev/reference/datamodel.html#object.__new__
__getnewargs__()https://docs.python.org/dev/library/pickle.html#object.__getnewargs__
__getnewargs_ex__()https://docs.python.org/dev/library/pickle.html#object.__getnewargs_ex__
https://docs.python.org/dev/library/pickle.html#object.__getnewargs__
__getnewargs_ex__()https://docs.python.org/dev/library/pickle.html#object.__getnewargs_ex__
__new__()https://docs.python.org/dev/reference/datamodel.html#object.__new__
__getnewargs__()https://docs.python.org/dev/library/pickle.html#object.__getnewargs__
__getnewargs_ex__()https://docs.python.org/dev/library/pickle.html#object.__getnewargs_ex__
__getnewargs__()https://docs.python.org/dev/library/pickle.html#object.__getnewargs__
__getnewargs_ex__()https://docs.python.org/dev/library/pickle.html#object.__getnewargs_ex__
https://docs.python.org/dev/library/pickle.html#object.__getstate__
__getstate__()https://docs.python.org/dev/library/pickle.html#object.__getstate__
__dict__https://docs.python.org/dev/reference/datamodel.html#object.__dict__
__slots__https://docs.python.org/dev/reference/datamodel.html#object.__slots__
__dict__https://docs.python.org/dev/reference/datamodel.html#object.__dict__
__slots__https://docs.python.org/dev/reference/datamodel.html#object.__slots__
__dict__https://docs.python.org/dev/reference/datamodel.html#object.__dict__
__slots__https://docs.python.org/dev/reference/datamodel.html#object.__slots__
__slots__https://docs.python.org/dev/reference/datamodel.html#object.__slots__
__dict__https://docs.python.org/dev/reference/datamodel.html#object.__dict__
objecthttps://docs.python.org/dev/library/functions.html#object
https://docs.python.org/dev/library/pickle.html#object.__setstate__
__setstate__()https://docs.python.org/dev/library/pickle.html#object.__setstate__
__reduce__()https://docs.python.org/dev/library/pickle.html#object.__reduce__
__setstate__()https://docs.python.org/dev/library/pickle.html#object.__setstate__
Handling Stateful Objectshttps://docs.python.org/dev/library/pickle.html#pickle-state
__getstate__()https://docs.python.org/dev/library/pickle.html#object.__getstate__
__setstate__()https://docs.python.org/dev/library/pickle.html#object.__setstate__
__getattr__()https://docs.python.org/dev/reference/datamodel.html#object.__getattr__
__getattribute__()https://docs.python.org/dev/reference/datamodel.html#object.__getattribute__
__setattr__()https://docs.python.org/dev/reference/datamodel.html#object.__setattr__
__new__()https://docs.python.org/dev/reference/datamodel.html#object.__new__
__init__()https://docs.python.org/dev/reference/datamodel.html#object.__init__
__reduce__()https://docs.python.org/dev/library/pickle.html#object.__reduce__
[4]https://docs.python.org/dev/library/pickle.html#id10
__reduce__()https://docs.python.org/dev/library/pickle.html#object.__reduce__
__getnewargs_ex__()https://docs.python.org/dev/library/pickle.html#object.__getnewargs_ex__
__getstate__()https://docs.python.org/dev/library/pickle.html#object.__getstate__
__setstate__()https://docs.python.org/dev/library/pickle.html#object.__setstate__
https://docs.python.org/dev/library/pickle.html#object.__reduce__
__reduce__()https://docs.python.org/dev/library/pickle.html#object.__reduce__
__setstate__()https://docs.python.org/dev/library/pickle.html#object.__setstate__
__dict__https://docs.python.org/dev/reference/datamodel.html#object.__dict__
append()https://docs.python.org/dev/library/stdtypes.html#sequence.append
extend()https://docs.python.org/dev/library/stdtypes.html#sequence.extend
__setitem__()https://docs.python.org/dev/reference/datamodel.html#object.__setitem__
__setstate__()https://docs.python.org/dev/library/pickle.html#object.__setstate__
__setstate__()https://docs.python.org/dev/library/pickle.html#object.__setstate__
https://docs.python.org/dev/library/pickle.html#object.__reduce_ex__
__reduce_ex__()https://docs.python.org/dev/library/pickle.html#object.__reduce_ex__
__reduce__()https://docs.python.org/dev/library/pickle.html#object.__reduce__
__reduce__()https://docs.python.org/dev/library/pickle.html#object.__reduce__
https://docs.python.org/dev/library/pickle.html#persistence-of-external-objects
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
[5]https://docs.python.org/dev/library/pickle.html#id11
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
persistent_id()https://docs.python.org/dev/library/pickle.html#pickle.Pickler.persistent_id
persistent_load()https://docs.python.org/dev/library/pickle.html#pickle.Unpickler.persistent_load
persistent_id()https://docs.python.org/dev/library/pickle.html#pickle.Pickler.persistent_id
persistent_load()https://docs.python.org/dev/library/pickle.html#pickle.Unpickler.persistent_load
https://docs.python.org/dev/library/pickle.html#dispatch-tables
copyreghttps://docs.python.org/dev/library/copyreg.html#module-copyreg
pickle.Picklerhttps://docs.python.org/dev/library/pickle.html#pickle.Pickler
copyreghttps://docs.python.org/dev/library/copyreg.html#module-copyreg
https://docs.python.org/dev/library/pickle.html#handling-stateful-objects
https://docs.python.org/dev/library/pickle.html#custom-reduction-for-types-functions-and-other-objects
dispatch_tablehttps://docs.python.org/dev/library/pickle.html#pickle.Pickler.dispatch_table
Picklerhttps://docs.python.org/dev/library/pickle.html#pickle.Pickler
reducer_override()https://docs.python.org/dev/library/pickle.html#pickle.Pickler.reducer_override
__reduce__()https://docs.python.org/dev/library/pickle.html#object.__reduce__
NotImplementedhttps://docs.python.org/dev/library/constants.html#NotImplemented
dispatch_tablehttps://docs.python.org/dev/library/pickle.html#pickle.Pickler.dispatch_table
reducer_override()https://docs.python.org/dev/library/pickle.html#pickle.Pickler.reducer_override
reducer_override()https://docs.python.org/dev/library/pickle.html#pickle.Pickler.reducer_override
reducer_override()https://docs.python.org/dev/library/pickle.html#pickle.Pickler.reducer_override
inthttps://docs.python.org/dev/library/functions.html#int
floathttps://docs.python.org/dev/library/functions.html#float
byteshttps://docs.python.org/dev/library/stdtypes.html#bytes
strhttps://docs.python.org/dev/library/stdtypes.html#str
dicthttps://docs.python.org/dev/library/stdtypes.html#dict
sethttps://docs.python.org/dev/library/stdtypes.html#set
frozensethttps://docs.python.org/dev/library/stdtypes.html#frozenset
listhttps://docs.python.org/dev/library/stdtypes.html#list
tuplehttps://docs.python.org/dev/library/stdtypes.html#tuple
https://docs.python.org/dev/library/pickle.html#out-of-band-buffers
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
https://docs.python.org/dev/library/pickle.html#provider-api
__reduce_ex__()https://docs.python.org/dev/library/pickle.html#object.__reduce_ex__
PickleBufferhttps://docs.python.org/dev/library/pickle.html#pickle.PickleBuffer
byteshttps://docs.python.org/dev/library/stdtypes.html#bytes
PickleBufferhttps://docs.python.org/dev/library/pickle.html#pickle.PickleBuffer
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
https://docs.python.org/dev/library/pickle.html#consumer-api
PickleBufferhttps://docs.python.org/dev/library/pickle.html#pickle.PickleBuffer
Picklerhttps://docs.python.org/dev/library/pickle.html#pickle.Pickler
dump()https://docs.python.org/dev/library/pickle.html#pickle.dump
dumps()https://docs.python.org/dev/library/pickle.html#pickle.dumps
PickleBufferhttps://docs.python.org/dev/library/pickle.html#pickle.PickleBuffer
Unpicklerhttps://docs.python.org/dev/library/pickle.html#pickle.Unpickler
load()https://docs.python.org/dev/library/pickle.html#pickle.load
loads()https://docs.python.org/dev/library/pickle.html#pickle.loads
PickleBufferhttps://docs.python.org/dev/library/pickle.html#pickle.PickleBuffer
https://docs.python.org/dev/library/pickle.html#example
bytearrayhttps://docs.python.org/dev/library/stdtypes.html#bytearray
bytearrayhttps://docs.python.org/dev/library/stdtypes.html#bytearray
bytearrayhttps://docs.python.org/dev/library/stdtypes.html#bytearray
PEP 574https://peps.python.org/pep-0574/
https://docs.python.org/dev/library/pickle.html#restricting-globals
os.system()https://docs.python.org/dev/library/os.html#os.system
Unpickler.find_class()https://docs.python.org/dev/library/pickle.html#pickle.Unpickler.find_class
Unpickler.find_class()https://docs.python.org/dev/library/pickle.html#pickle.Unpickler.find_class
builtinshttps://docs.python.org/dev/library/builtins.html#module-builtins
xmlrpc.clienthttps://docs.python.org/dev/library/xmlrpc.client.html#module-xmlrpc.client
https://docs.python.org/dev/library/pickle.html#performance
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
https://docs.python.org/dev/library/pickle.html#examples
dump()https://docs.python.org/dev/library/pickle.html#pickle.dump
load()https://docs.python.org/dev/library/pickle.html#pickle.load
https://docs.python.org/dev/library/pickle.html#command-line-interface
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
pickletools CLI usagehttps://docs.python.org/dev/library/pickletools.html#pickletools-cli
https://docs.python.org/dev/library/pickle.html#cmdoption-pickle-arg-pickle_file
copyreghttps://docs.python.org/dev/library/copyreg.html#module-copyreg
pickletoolshttps://docs.python.org/dev/library/pickletools.html#module-pickletools
shelvehttps://docs.python.org/dev/library/shelve.html#module-shelve
picklehttps://docs.python.org/dev/library/pickle.html#module-pickle
copyhttps://docs.python.org/dev/library/copy.html#module-copy
marshalhttps://docs.python.org/dev/library/marshal.html#module-marshal
1https://docs.python.org/dev/library/pickle.html#id1
marshalhttps://docs.python.org/dev/library/marshal.html#module-marshal
2https://docs.python.org/dev/library/pickle.html#id3
lambdahttps://docs.python.org/dev/reference/expressions.html#lambda
3https://docs.python.org/dev/library/pickle.html#id4
ImportErrorhttps://docs.python.org/dev/library/exceptions.html#ImportError
AttributeErrorhttps://docs.python.org/dev/library/exceptions.html#AttributeError
4https://docs.python.org/dev/library/pickle.html#id5
copyhttps://docs.python.org/dev/library/copy.html#module-copy
5https://docs.python.org/dev/library/pickle.html#id6
Table of Contentshttps://docs.python.org/dev/contents.html
pickle — Python object serializationhttps://docs.python.org/dev/library/pickle.html
Relationship to other Python moduleshttps://docs.python.org/dev/library/pickle.html#relationship-to-other-python-modules
Comparison with marshalhttps://docs.python.org/dev/library/pickle.html#comparison-with-marshal
Comparison with jsonhttps://docs.python.org/dev/library/pickle.html#comparison-with-json
Data stream formathttps://docs.python.org/dev/library/pickle.html#data-stream-format
Module Interfacehttps://docs.python.org/dev/library/pickle.html#module-interface
What can be pickled and unpickled?https://docs.python.org/dev/library/pickle.html#what-can-be-pickled-and-unpickled
Pickling Class Instanceshttps://docs.python.org/dev/library/pickle.html#pickling-class-instances
Persistence of External Objectshttps://docs.python.org/dev/library/pickle.html#persistence-of-external-objects
Dispatch Tableshttps://docs.python.org/dev/library/pickle.html#dispatch-tables
Handling Stateful Objectshttps://docs.python.org/dev/library/pickle.html#handling-stateful-objects
Custom Reduction for Types, Functions, and Other Objectshttps://docs.python.org/dev/library/pickle.html#custom-reduction-for-types-functions-and-other-objects
Out-of-band Buffershttps://docs.python.org/dev/library/pickle.html#out-of-band-buffers
Provider APIhttps://docs.python.org/dev/library/pickle.html#provider-api
Consumer APIhttps://docs.python.org/dev/library/pickle.html#consumer-api
Examplehttps://docs.python.org/dev/library/pickle.html#example
Restricting Globalshttps://docs.python.org/dev/library/pickle.html#restricting-globals
Performancehttps://docs.python.org/dev/library/pickle.html#performance
Exampleshttps://docs.python.org/dev/library/pickle.html#examples
Command-line interfacehttps://docs.python.org/dev/library/pickle.html#command-line-interface
Data Persistencehttps://docs.python.org/dev/library/persistence.html
copyreg — Register pickle support functionshttps://docs.python.org/dev/library/copyreg.html
Report a bughttps://docs.python.org/dev/bugs.html
Show source https://github.com/python/cpython/blob/main/Doc/library/pickle.rst?plain=1
indexhttps://docs.python.org/dev/genindex.html
moduleshttps://docs.python.org/dev/py-modindex.html
nexthttps://docs.python.org/dev/library/copyreg.html
previoushttps://docs.python.org/dev/library/persistence.html
Pythonhttps://www.python.org/
3.15.0a5 Documentationhttps://docs.python.org/dev/index.html
The Python Standard Libraryhttps://docs.python.org/dev/library/index.html
Data Persistencehttps://docs.python.org/dev/library/persistence.html
pickle — Python object serializationhttps://docs.python.org/dev/library/pickle.html
Copyrighthttps://docs.python.org/dev/copyright.html
History and Licensehttps://docs.python.org/license.html
Please donate.https://www.python.org/psf/donations/
Found a bughttps://docs.python.org/bugs.html
Sphinxhttps://www.sphinx-doc.org/

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.