Python pickle

GPTKB entity

Statements (38)
Predicate Object
gptkbp:instanceOf gptkb:software
gptkbp:alternativeTo shelve module
json module
marshal module
gptkbp:cannotSerialize sockets
database connections
open file handles
running threads
gptkbp:canSerialize most Python objects
gptkbp:category data persistence
serialization
gptkbp:defaultProtocol 3 (Python 3.0-3.7)
4 (Python 3.8-3.7)
5 (Python 3.8+)
gptkbp:documentation https://docs.python.org/3/library/pickle.html
gptkbp:fileExtension .pkl
https://www.w3.org/2000/01/rdf-schema#label Python pickle
gptkbp:imported import pickle
gptkbp:introducedIn Python 1.0
gptkbp:mainFunction pickle.dump
pickle.dumps
pickle.load
pickle.loads
gptkbp:maintainedBy gptkb:Python_Software_Foundation
gptkbp:partOf gptkb:Python_standard_library
gptkbp:securityWarning Unpickling data from untrusted sources is insecure
gptkbp:supports custom serialization via __getstate__ and __setstate__
gptkbp:supportsProtocol 2
0
1
3
4
5
gptkbp:usedFor deserializing Python objects
serializing Python objects
gptkbp:writtenBy gptkb:Python
gptkbp:bfsParent gptkb:CIFAR-100
gptkbp:bfsLayer 7