HEX
Server: Apache
System: Linux d5818.dxb1.stableserver.net 5.14.0-570.24.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 1 04:35:16 EDT 2025 x86_64
User: avilonro (1211)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //opt/alt/python313/include/python3.13/internal/pycore_warnings.h
#ifndef Py_INTERNAL_WARNINGS_H
#define Py_INTERNAL_WARNINGS_H
#ifdef __cplusplus
extern "C" {
#endif

#ifndef Py_BUILD_CORE
#  error "this header requires Py_BUILD_CORE define"
#endif

struct _warnings_runtime_state {
    /* Both 'filters' and 'onceregistry' can be set in warnings.py;
       get_warnings_attr() will reset these variables accordingly. */
    PyObject *filters;  /* List */
    PyObject *once_registry;  /* Dict */
    PyObject *default_action; /* String */
    PyMutex mutex;
    long filters_version;
};

extern int _PyWarnings_InitState(PyInterpreterState *interp);

extern PyObject* _PyWarnings_Init(void);

extern void _PyErr_WarnUnawaitedCoroutine(PyObject *coro);
extern void _PyErr_WarnUnawaitedAgenMethod(PyAsyncGenObject *agen, PyObject *method);

#ifdef __cplusplus
}
#endif
#endif /* !Py_INTERNAL_WARNINGS_H */