HomeSort by relevance Sort by last modified time
    Searched refs:copyreg (Results 1 - 23 of 23) sorted by null

  /external/python/cpython3/Lib/test/
test_copyreg.py 1 import copyreg
29 self.assertRaises(TypeError, copyreg.pickle,
33 self.assertRaises(TypeError, copyreg.pickle,
37 self.assertRaises(TypeError, copyreg.pickle,
49 self.assertRaises(ValueError, copyreg.remove_extension,
51 copyreg.add_extension(mod, func, code)
53 self.assertTrue(copyreg._extension_registry[mod, func] == code)
54 self.assertTrue(copyreg._inverted_registry[code] == (mod, func))
56 self.assertNotIn(code, copyreg._extension_cache)
58 copyreg.add_extension(mod, func, code) # shouldn't blow u
    [all...]
pickletester.py 2 import copyreg
76 if code in copyreg._inverted_registry:
77 self.pair = copyreg._inverted_registry[code]
78 copyreg.remove_extension(self.pair[0], self.pair[1], code)
85 curpair = copyreg._inverted_registry.get(code)
87 copyreg.remove_extension(curpair[0], curpair[1], code)
90 copyreg.add_extension(pair[0], pair[1], code)
    [all...]
test_copy.py 4 import copyreg
51 copyreg.pickle(C, pickle_C, C)
313 copyreg.pickle(C, pickle_C, C)
test_descr.py 2 import copyreg
    [all...]
  /external/python/cpython3/Lib/test/libregrtest/
refleak.py 47 import copyreg
56 ps = copyreg.dispatch_table.copy()
124 import gc, copyreg
130 copyreg.dispatch_table.clear()
131 copyreg.dispatch_table.update(ps)
  /external/python/cpython3/Lib/
re.py 336 import copyreg
341 copyreg.pickle(_pattern_type, _pickle, _compile)
copy.py 53 from copyreg import dispatch_table
pickle.py 3 See module copyreg for a mechanism for registering custom picklers.
27 from copyreg import dispatch_table
28 from copyreg import _extension_registry, _inverted_registry, _extension_cache
479 # Check private dispatch table if any, or else copyreg.dispatch_table
    [all...]
  /external/python/cpython3/Lib/multiprocessing/
reduction.py 11 import copyreg
36 _copyreg_dispatch_table = copyreg.dispatch_table
  /external/python/cpython3/Modules/
parsermodule.c 1139 PyObject *module, *copyreg; local
    [all...]
_pickle.c 129 /* copyreg.dispatch_table, {type_object: pickling_function} */
134 /* copyreg._extension_registry, {(module_name, function_name): code} */
136 /* copyreg._extension_cache, {code: object} */
138 /* copyreg._inverted_registry, {code: (module_name, function_name)} */
204 PyObject *copyreg = NULL; local
217 copyreg = PyImport_ImportModule("copyreg");
218 if (!copyreg)
220 st->dispatch_table = PyObject_GetAttrString(copyreg, "dispatch_table");
225 "copyreg.dispatch_table should be a dict, not %.200s"
    [all...]
  /external/python/cpython3/Lib/idlelib/
rpc.py 30 import copyreg
64 dispatch_table.update(copyreg.dispatch_table)
  /external/protobuf/python/google/protobuf/internal/
python_message.py 60 import six.moves.copyreg as copyreg
66 import copy_reg as copyreg
186 copyreg.pickle(cls, lambda obj: (cls, (), obj.__getstate__()))
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
typeobject.c 3170 PyObject *copyreg; local
3211 PyObject *copyreg = NULL, *newobj = NULL, *res = NULL; local
3359 PyObject *copyreg, *res; local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
typeobject.c 3137 PyObject *copyreg; local
3178 PyObject *copyreg = NULL, *newobj = NULL, *res = NULL; local
3326 PyObject *copyreg, *res; local
    [all...]
  /external/python/cpython2/Objects/
typeobject.c 3236 PyObject *copyreg; local
3277 PyObject *copyreg = NULL, *newobj = NULL, *res = NULL; local
3446 PyObject *copyreg, *res; local
    [all...]
  /external/python/cpython3/Objects/
typeobject.c 3848 PyObject *copyreg; local
4189 PyObject *copyreg; local
4305 PyObject *copyreg, *res; local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
parsermodule.c 3433 PyObject *module, *copyreg; local
    [all...]
cPickle.c 5864 PyObject *copyreg, *t, *r; local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
parsermodule.c 3404 PyObject *module, *copyreg; local
    [all...]
cPickle.c 5829 PyObject *copyreg, *t, *r; local
    [all...]
  /external/python/cpython2/Modules/
parsermodule.c 3433 PyObject *module, *copyreg; local
    [all...]
cPickle.c 5891 PyObject *copyreg, *t, *r; local
    [all...]

Completed in 4458 milliseconds