Home
last modified time | relevance | path

Searched refs:_abc_cache (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython3/Lib/
D_py_abc.py49 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)
Dabc.py149 (_abc_registry, _abc_cache, _abc_negative_cache,
/external/python/cpython2/Lib/
Dabc.py100 cls._abc_cache = WeakSet()
132 if subclass is not None and subclass in cls._abc_cache:
151 if subclass in cls._abc_cache:
165 cls._abc_cache.add(subclass)
171 cls._abc_cache.add(subclass)
176 cls._abc_cache.add(subclass)
181 cls._abc_cache.add(subclass)
/external/python/cpython3/Modules/
D_abc.c36 PyObject *_abc_cache; /* Normal set of weak references. */ member
45 Py_XDECREF(self->_abc_cache); in abc_data_dealloc()
59 self->_abc_cache = NULL; in abc_data_new()
213 if (impl->_abc_cache != NULL && PySet_Clear(impl->_abc_cache) < 0) { in _abc__reset_caches()
250 PySet_New(impl->_abc_cache), in _abc__get_dump()
494 int incache = _in_weak_set(impl->_abc_cache, subclass); in _abc__abc_instancecheck_impl()
585 incache = _in_weak_set(impl->_abc_cache, subclass); in _abc__abc_subclasscheck_impl()
623 if (_add_to_weak_set(&impl->_abc_cache, subclass) < 0) { in _abc__abc_subclasscheck_impl()
652 if (_add_to_weak_set(&impl->_abc_cache, subclass) < 0) { in _abc__abc_subclasscheck_impl()
681 if (_add_to_weak_set(&impl->_abc_cache, subclass) < 0) { in _abc__abc_subclasscheck_impl()
[all …]
/external/python/cpython3/Lib/test/libregrtest/
Drefleak.py13 return (cls._abc_registry, cls._abc_cache,
/external/python/cpython3/Misc/NEWS.d/
D3.7.0b2.rst207 ``_abc_cache``, and ``_abc_negative_cache``. There are three debugging
/external/python/cpython2/Lib/test/
Dregrtest.py1533 abc._abc_cache.clear()