Lines Matching refs:pickle
1 import pickle
19 return pickle.dumps(arg, proto)
23 return pickle.loads(buf)
25 module = pickle
28 bad_mark_errors = (IndexError, pickle.UnpicklingError,
30 truncated_errors = (pickle.UnpicklingError, EOFError,
39 bad_mark_errors = (IndexError, pickle.UnpicklingError,
41 truncated_errors = (pickle.UnpicklingError, EOFError,
48 u = pickle.Unpickler(f)
55 p = pickle.Pickler(f, proto)
64 u = pickle.Unpickler(f)
70 class PersPickler(pickle.Pickler):
82 class PersUnpickler(pickle.Unpickler):
91 pickler_class = pickle.Pickler
92 unpickler_class = pickle.Unpickler
98 return pickle.dumps(arg, proto)
102 return pickle.loads(buf)
114 test_support.run_doctest(pickle)