Home
last modified time | relevance | path

Searched refs:_extension_cache (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Lib/
Dcopy_reg.py157 _extension_cache = {} # code -> object variable
188 if code in _extension_cache:
189 del _extension_cache[code]
192 _extension_cache.clear()
Dpickle.py31 from copy_reg import _extension_registry, _inverted_registry, _extension_cache
1117 obj = _extension_cache.get(code, nil)
1125 _extension_cache[code] = obj
/external/python/cpython3/Lib/
Dcopyreg.py165 _extension_cache = {} # code -> object variable
196 if code in _extension_cache:
197 del _extension_cache[code]
200 _extension_cache.clear()
Dpickle.py28 from copyreg import _extension_registry, _inverted_registry, _extension_cache
1557 obj = _extension_cache.get(code, nil)
1568 _extension_cache[code] = obj
/external/python/cpython3/Lib/test/
Dtest_copyreg.py62 self.assertNotIn(code, copyreg._extension_cache)
/external/python/cpython2/Lib/test/
Dtest_copy_reg.py63 self.assertNotIn(code, copy_reg._extension_cache)