Home
last modified time | relevance | path

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

/third_party/python/Modules/
H A D_abc.c38 PyObject *_abc_registry; member
48 Py_VISIT(self->_abc_registry); in abc_data_traverse()
57 Py_CLEAR(self->_abc_registry); in abc_data_clear()
88 self->_abc_registry = NULL; in abc_data_new()
223 if (impl->_abc_registry != NULL && PySet_Clear(impl->_abc_registry) < 0) { in _abc__reset_registry()
286 PySet_New(impl->_abc_registry), in _abc__get_dump()
548 if (_add_to_weak_set(&impl->_abc_registry, subclass) < 0) { in _abc__abc_register_impl()
815 int ret = _in_weak_set(impl->_abc_registry, subclass); in subclasscheck_check_registry()
825 if (impl->_abc_registry in subclasscheck_check_registry()
[all...]
/third_party/python/Lib/
H A D_py_abc.py48 cls._abc_registry = WeakSet()
68 cls._abc_registry.add(subclass)
85 cls._abc_registry.clear()
136 for rcls in cls._abc_registry:
H A Dabc.py129 (_abc_registry, _abc_cache, _abc_negative_cache,
131 print(f"_abc_registry: {_abc_registry!r}", file=file)
/third_party/python/Lib/test/libregrtest/
H A Drefleak.py17 registry_weakrefs = set(weakref.ref(obj) for obj in cls._abc_registry)

Completed in 2 milliseconds