Lines Matching refs:cPickle
1 import cPickle
46 self.dumps = cPickle.dumps
47 self.loads = cPickle.loads
49 error = cPickle.BadPickleGet
50 module = cPickle
57 p = cPickle.Pickler(f, proto)
67 p = cPickle.Unpickler(f)
72 error = cPickle.BadPickleGet
87 p = cPickle.Pickler(proto)
94 p = cPickle.Unpickler(f)
99 error = cPickle.BadPickleGet
116 p = cPickle.Pickler(f, proto)
127 p = cPickle.Unpickler(f)
132 error = cPickle.BadPickleGet
182 pickler_class = cPickle.Pickler
183 unpickler_class = cPickle.Unpickler
189 return cPickle.dumps(arg, proto)
193 return cPickle.loads(buf)
208 self.assertRaises((AttributeError, RuntimeError), cPickle.dumps, n)
216 cPickle.dumps(res)