Searched refs:_extension_registry (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Lib/ |
D | copy_reg.py | 155 _extension_registry = {} # key -> code variable 167 if (_extension_registry.get(key) == code and 170 if key in _extension_registry: 172 (key, _extension_registry[key])) 176 _extension_registry[key] = code 182 if (_extension_registry.get(key) != code or 186 del _extension_registry[key]
|
D | pickle.py | 31 from copy_reg import _extension_registry, _inverted_registry, _extension_cache 762 code = _extension_registry.get((module, name))
|
/external/python/cpython3/Lib/ |
D | copyreg.py | 156 _extension_registry = {} # key -> code variable 168 if (_extension_registry.get(key) == code and 171 if key in _extension_registry: 173 (key, _extension_registry[key])) 177 _extension_registry[key] = code 183 if (_extension_registry.get(key) != code or 187 del _extension_registry[key]
|
D | pickle.py | 28 from copyreg import _extension_registry, _inverted_registry, _extension_cache 965 code = _extension_registry.get((module_name, name))
|
/external/python/cpython3/Lib/test/ |
D | test_copyreg.py | 59 self.assertTrue(copyreg._extension_registry[mod, func] == code) 89 self.assertNotIn((mod, func), copyreg._extension_registry)
|
/external/python/cpython2/Lib/test/ |
D | test_copy_reg.py | 60 self.assertTrue(copy_reg._extension_registry[mod, func] == code) 90 self.assertNotIn((mod, func), copy_reg._extension_registry)
|