Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/
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)
Dabc.py149 (_abc_registry, _abc_cache, _abc_negative_cache,
/external/python/cpython2/Lib/
Dabc.py101 cls._abc_negative_cache = WeakSet()
141 subtype in cls._abc_negative_cache):
156 cls._abc_negative_cache = WeakSet()
158 elif subclass in cls._abc_negative_cache:
167 cls._abc_negative_cache.add(subclass)
184 cls._abc_negative_cache.add(subclass)
/external/python/cpython3/Modules/
D_abc.c37 PyObject *_abc_negative_cache; /* Normal set of weak references. */ member
46 Py_XDECREF(self->_abc_negative_cache); in abc_data_dealloc()
60 self->_abc_negative_cache = NULL; in abc_data_new()
218 if (impl->_abc_negative_cache != NULL && in _abc__reset_caches()
219 PySet_Clear(impl->_abc_negative_cache) < 0) { in _abc__reset_caches()
251 PySet_New(impl->_abc_negative_cache), in _abc__get_dump()
506 incache = _in_weak_set(impl->_abc_negative_cache, subclass); in _abc__abc_instancecheck_impl()
597 if (impl->_abc_negative_cache != NULL && in _abc__abc_subclasscheck_impl()
598 PySet_Clear(impl->_abc_negative_cache) < 0) in _abc__abc_subclasscheck_impl()
605 incache = _in_weak_set(impl->_abc_negative_cache, subclass); in _abc__abc_subclasscheck_impl()
[all …]
/external/python/cpython3/Lib/test/libregrtest/
Drefleak.py14 cls._abc_negative_cache, cls._abc_negative_cache_version)
/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.py1534 abc._abc_negative_cache.clear()