| pickle (version 1.37) | index /usr/lib/python1.6/pickle.py |
Create portable serialized representations of Python objects.
See module cPickle for a (much) faster implementation.
See module copy_reg for a mechanism for registering custom picklers.
Classes:
Pickler
Unpickler
Functions:
dump(object, file)
dumps(object) -> string
load(file) -> object
loads(string) -> object
Misc variables:
__version__
format_version
compatible_formats
| Modules | ||||||
| ||||||
| Classes | ||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||
| Functions | ||
| ||
| Data | ||
| APPEND = 'a' APPENDS = 'e' BINFLOAT = 'G' BINGET = 'h' BININT = 'J' BININT1 = 'K' BININT2 = 'M' BINPERSID = 'Q' BINPUT = 'q' BINSTRING = 'T' BINUNICODE = 'X' BUILD = 'b' BufferType = <type 'buffer'> BuiltinFunctionType = <type 'builtin_function_or_method'> BuiltinMethodType = <type 'builtin_function_or_method'> ClassType = <type 'class'> CodeType = <type 'code'> ComplexType = <type 'complex'> DICT = 'd' DUP = '2' DictType = <type 'dictionary'> DictionaryType = <type 'dictionary'> EMPTY_DICT = '}' EMPTY_LIST = ']' EMPTY_TUPLE = ')' EllipsisType = <type 'ellipsis'> FLOAT = 'F' FileType = <type 'file'> FloatType = <type 'float'> FrameType = <type 'frame'> FunctionType = <type 'function'> GET = 'g' GLOBAL = 'c' INST = 'i' INT = 'I' InstanceType = <type 'instance'> IntType = <type 'int'> LIST = 'l' LONG = 'L' LONG_BINGET = 'j' LONG_BINPUT = 'r' LambdaType = <type 'function'> ListType = <type 'list'> LongType = <type 'long int'> MARK = '(' MethodType = <type 'instance method'> ModuleType = <type 'module'> NONE = 'N' NoneType = <type 'None'> OBJ = 'o' PERSID = 'P' POP = '0' POP_MARK = '1' PUT = 'p' PicklingError = 'pickle.PicklingError' PyStringMap = None REDUCE = 'R' SETITEM = 's' SETITEMS = 'u' SHORT_BINSTRING = 'U' STOP = '.' STRING = 'S' SliceType = <type 'slice'> StringType = <type 'string'> TUPLE = 't' TracebackType = <type 'traceback'> TupleType = <type 'tuple'> TypeType = <type 'type'> UNICODE = 'V' UnboundMethodType = <type 'instance method'> UnicodeType = <type 'unicode'> UnpicklingError = 'pickle.UnpicklingError' XRangeType = <type 'xrange'> __file__ = '/usr/lib/python1.6/pickle.pyc' __name__ = 'pickle' __version__ = '$Revision: 1.37 $' classmap = {} compatible_formats = ['1.0', '1.1', '1.2'] dispatch_table = {<type 'complex'>: <function pickle_complex at 81ba9a8>, <type 'SRE_Pattern'>: <function _pickle at 81b8ba0>} format_version = '1.3' safe_constructors = {<built-in function complex>: 1, <function _compile at 81dc6b8>: 1} | ||