Searched refs:once_registry (Results 1 – 3 of 3) sorted by relevance
106 assert(_PyRuntime.warnings.once_registry); in get_once_registry()107 return _PyRuntime.warnings.once_registry; in get_once_registry()117 Py_SETREF(_PyRuntime.warnings.once_registry, registry); in get_once_registry()1323 if (_PyRuntime.warnings.once_registry == NULL) { in _PyWarnings_Init()1324 _PyRuntime.warnings.once_registry = PyDict_New(); in _PyWarnings_Init()1325 if (_PyRuntime.warnings.once_registry == NULL) in _PyWarnings_Init()1328 Py_INCREF(_PyRuntime.warnings.once_registry); in _PyWarnings_Init()1330 _PyRuntime.warnings.once_registry) < 0) in _PyWarnings_Init()
13 PyObject *once_registry; /* Dict */ member
397 from _warnings import (filters, default_action, once_registry,400 onceregistry = once_registry