Module Object :: Class Unserializer
[hide private]
[frames] | no frames]

Class Unserializer

source code

pickle.Unpickler --+
                   |
                  Unserializer

Instance Methods [hide private]
 
__init__(self, manager, data)
This takes a file-like object for reading a pickle data stream.
source code
 
persistent_load(self, id) source code

Inherited from pickle.Unpickler: find_class, get_extension, load, load_append, load_appends, load_binfloat, load_binget, load_binint, load_binint1, load_binint2, load_binpersid, load_binput, load_binstring, load_binunicode, load_build, load_dict, load_dup, load_empty_dictionary, load_empty_list, load_empty_tuple, load_eof, load_ext1, load_ext2, load_ext4, load_false, load_float, load_get, load_global, load_inst, load_int, load_list, load_long, load_long1, load_long4, load_long_binget, load_long_binput, load_mark, load_newobj, load_none, load_obj, load_persid, load_pop, load_pop_mark, load_proto, load_put, load_reduce, load_setitem, load_setitems, load_short_binstring, load_stop, load_string, load_true, load_tuple, load_tuple1, load_tuple2, load_tuple3, load_unicode, marker

Inherited from pickle.Unpickler (private): _instantiate

Class Variables [hide private]

Inherited from pickle.Unpickler: dispatch

Method Details [hide private]

__init__(self, manager, data)
(Constructor)

source code 

This takes a file-like object for reading a pickle data stream.

The protocol version of the pickle is detected automatically, so no proto argument is needed.

The file-like object must have two methods, a read() method that takes an integer argument, and a readline() method that requires no arguments. Both methods should return a string. Thus file-like object can be a file object opened for reading, a StringIO object, or any other custom object that meets this interface.
Overrides: pickle.Unpickler.__init__
(inherited documentation)