Searched refs:get_warnings_attr (Results 1 – 4 of 4) sorted by relevance
39 get_warnings_attr(const char *attr) in get_warnings_attr() function69 registry = get_warnings_attr("onceregistry"); in get_once_registry()92 default_action = get_warnings_attr("defaultaction"); in get_default_action()115 warnings_filters = get_warnings_attr("filters"); in get_filter()404 PyObject *show_fxn = get_warnings_attr("showwarning"); in warn_explicit()
190 get_warnings_attr(_Py_Identifier *attr_id, int try_import) in get_warnings_attr() function238 registry = get_warnings_attr(&PyId_onceregistry, 0); in get_once_registry()264 default_action = get_warnings_attr(&PyId_defaultaction, 0); in get_default_action()299 warnings_filters = get_warnings_attr(&PyId_filters, 0); in get_filter()572 show_fn = get_warnings_attr(&PyId__showwarnmsg, source != NULL); in call_show_warning()586 warnmsg_cls = get_warnings_attr(&PyId_WarningMessage, 0); in call_show_warning()1321 PyObject *fn = get_warnings_attr(&PyId__warn_unawaited_coroutine, 1); in _PyErr_WarnUnawaitedCoroutine()
494 Python/_warnings.c:get_warnings_attr():PyId_warnings _Py_IDENTIFIER(warnings)
1425 Python/_warnings.c get_warnings_attr PyId_warnings variable _Py_IDENTIFIER(warnings)