Python variegatus

Pickle (Python)

pickle is the standard python mechanism for object serialization; pickling is the common term among python programmer for serialization (unpickling for deserializing). Pickle uses a simple stack-based "virtual machine" that records the "instructions" used to reconstruct the object. This makes pickle vulnerable to security risks by malformed or maliciously constructed data, that may cause the deserializer to import arbitrary modules and instantiate any object. Also, not all objects can be pickled, especially ones that hold operating system resources like file handles.

Pickle was originally implemented as the pure-python pickle module, but the cPickle module (also a built-in) offers improved performance (up to 1000 times faster).


External links

Search another word or see Python variegatuson Dictionary | Thesaurus |Spanish
Copyright © 2015, LLC. All rights reserved.
  • Please Login or Sign Up to use the Recent Searches feature