Searched refs:_abc_registry (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython3/Modules/ |
D | _abc.c | 35 PyObject *_abc_registry; member 44 Py_XDECREF(self->_abc_registry); in abc_data_dealloc() 58 self->_abc_registry = NULL; in abc_data_new() 186 if (impl->_abc_registry != NULL && PySet_Clear(impl->_abc_registry) < 0) { in _abc__reset_registry() 249 PySet_New(impl->_abc_registry), in _abc__get_dump() 453 if (_add_to_weak_set(&impl->_abc_registry, subclass) < 0) { in _abc__abc_register_impl() 711 int ret = _in_weak_set(impl->_abc_registry, subclass); in subclasscheck_check_registry() 721 if (impl->_abc_registry == NULL) { in subclasscheck_check_registry() 724 Py_ssize_t registry_size = PySet_Size(impl->_abc_registry); in subclasscheck_check_registry() 740 while (_PySet_NextEntry(impl->_abc_registry, &pos, &key, &hash)) { in subclasscheck_check_registry()
|
/external/python/cpython3/Lib/ |
D | _py_abc.py | 48 cls._abc_registry = WeakSet() 68 cls._abc_registry.add(subclass) 85 cls._abc_registry.clear() 136 for rcls in cls._abc_registry:
|
D | abc.py | 149 (_abc_registry, _abc_cache, _abc_negative_cache,
|
/external/python/cpython2/Lib/ |
D | abc.py | 99 cls._abc_registry = WeakSet() 116 cls._abc_registry.add(subclass) 174 for rcls in cls._abc_registry:
|
/external/python/cpython3/Lib/test/libregrtest/ |
D | refleak.py | 13 return (cls._abc_registry, cls._abc_cache,
|
/external/python/cpython2/Lib/test/ |
D | regrtest.py | 1443 abcs[obj] = obj._abc_registry.copy() 1532 abc._abc_registry = registry.copy()
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0b2.rst | 206 previously accessible via private attributes ``_abc_registry``,
|