Home
last modified time | relevance | path

Searched refs:_abc_negative_cache (Results 1 - 4 of 4) sorted by relevance

/third_party/python/Lib/
H A D_py_abc.py50 cls._abc_negative_cache = WeakSet()
90 cls._abc_negative_cache.clear()
102 subclass in cls._abc_negative_cache):
118 cls._abc_negative_cache = WeakSet()
120 elif subclass in cls._abc_negative_cache:
129 cls._abc_negative_cache.add(subclass)
146 cls._abc_negative_cache.add(subclass)
H A Dabc.py129 (_abc_registry, _abc_cache, _abc_negative_cache,
133 print(f"_abc_negative_cache: {_abc_negative_cache!r}", file=file)
/third_party/python/Modules/
H A D_abc.c40 PyObject *_abc_negative_cache; /* Normal set of weak references. */ member
50 Py_VISIT(self->_abc_negative_cache); in abc_data_traverse()
59 Py_CLEAR(self->_abc_negative_cache); in abc_data_clear()
90 self->_abc_negative_cache = NULL; in abc_data_new()
255 if (impl->_abc_negative_cache != NULL && in _abc__reset_caches()
256 PySet_Clear(impl->_abc_negative_cache) < 0) { in _abc__reset_caches()
288 PySet_New(impl->_abc_negative_cache), in _abc__get_dump()
608 incache = _in_weak_set(impl->_abc_negative_cache, subclass); in _abc__abc_instancecheck_impl()
701 if (impl->_abc_negative_cache != NULL && in _abc__abc_subclasscheck_impl()
702 PySet_Clear(impl->_abc_negative_cache) < in _abc__abc_subclasscheck_impl()
[all...]
/third_party/python/Lib/test/libregrtest/
H A Drefleak.py19 cls._abc_negative_cache, cls._abc_negative_cache_version)

Completed in 2 milliseconds