Home
last modified time | relevance | path

Searched refs:extension_registry (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Modules/
D_pickle.c152 PyObject *extension_registry; member
204 Py_CLEAR(st->extension_registry); in _Pickle_ClearState()
242 st->extension_registry = \ in _Pickle_InitState()
244 if (!st->extension_registry) in _Pickle_InitState()
246 if (!PyDict_CheckExact(st->extension_registry)) { in _Pickle_InitState()
249 "not %.200s", Py_TYPE(st->extension_registry)->tp_name); in _Pickle_InitState()
3667 code_obj = PyDict_GetItemWithError(st->extension_registry, in save_global()
7973 Py_VISIT(st->extension_registry); in pickle_traverse()
/external/python/cpython2/Modules/
DcPickle.c121 static PyObject *extension_registry; variable
2259 py_code = PyDict_GetItem(extension_registry, two_tuple); in save_global()
5909 extension_registry = PyObject_GetAttrString(copyreg, in init_stuff()
5911 if (!extension_registry) return -1; in init_stuff()