Searched refs:_extension_cache (Results 1 – 6 of 6) sorted by relevance
157 _extension_cache = {} # code -> object variable188 if code in _extension_cache:189 del _extension_cache[code]192 _extension_cache.clear()
31 from copy_reg import _extension_registry, _inverted_registry, _extension_cache1117 obj = _extension_cache.get(code, nil)1125 _extension_cache[code] = obj
165 _extension_cache = {} # code -> object variable196 if code in _extension_cache:197 del _extension_cache[code]200 _extension_cache.clear()
28 from copyreg import _extension_registry, _inverted_registry, _extension_cache1557 obj = _extension_cache.get(code, nil)1568 _extension_cache[code] = obj
62 self.assertNotIn(code, copyreg._extension_cache)
63 self.assertNotIn(code, copy_reg._extension_cache)