Searched refs:_abc_cache (Results 1 - 4 of 4) sorted by relevance
/third_party/python/Lib/ |
H A D | _py_abc.py | 49 cls._abc_cache = WeakSet() 89 cls._abc_cache.clear() 96 if subclass in cls._abc_cache: 113 if subclass in cls._abc_cache: 127 cls._abc_cache.add(subclass) 133 cls._abc_cache.add(subclass) 138 cls._abc_cache.add(subclass) 143 cls._abc_cache.add(subclass)
|
H A D | abc.py | 129 (_abc_registry, _abc_cache, _abc_negative_cache, 132 print(f"_abc_cache: {_abc_cache!r}", file=file)
|
/third_party/python/Modules/ |
H A D | _abc.c | 39 PyObject *_abc_cache; /* Normal set of weak references. */ member 49 Py_VISIT(self->_abc_cache); in abc_data_traverse() 58 Py_CLEAR(self->_abc_cache); in abc_data_clear() 89 self->_abc_cache = NULL; in abc_data_new() 250 if (impl->_abc_cache != NULL && PySet_Clear(impl->_abc_cache) < 0) { in _abc__reset_caches() 287 PySet_New(impl->_abc_cache), in _abc__get_dump() 596 int incache = _in_weak_set(impl->_abc_cache, subclass); in _abc__abc_instancecheck_impl() 688 incache = _in_weak_set(impl->_abc_cache, subclass); in _abc__abc_subclasscheck_impl() 727 if (_add_to_weak_set(&impl->_abc_cache, subclas in _abc__abc_subclasscheck_impl() [all...] |
/third_party/python/Lib/test/libregrtest/ |
H A D | refleak.py | 18 return (registry_weakrefs, cls._abc_cache,
|
Completed in 4 milliseconds