Download include/python3.11/internal/pycore_exceptions.h from michaelu0826/phantom_env: direct link, hf CLI and curl.
- Browser
- Download file 842 Bytes
-
https://huggingface.co/datasets/michaelu0826/phantom_env/resolve/main/include/python3.11/internal/pycore_exceptions.h
- Command line
-
hf download hf://datasets/michaelu0826/phantom_env/include/python3.11/internal/pycore_exceptions.h
-
curl -L -o pycore_exceptions.h https://huggingface.co/datasets/michaelu0826/phantom_env/resolve/main/include/python3.11/internal/pycore_exceptions.h
842 Bytes
| extern "C" { | |
| /* runtime lifecycle */ | |
| extern PyStatus _PyExc_InitState(PyInterpreterState *); | |
| extern PyStatus _PyExc_InitGlobalObjects(PyInterpreterState *); | |
| extern int _PyExc_InitTypes(PyInterpreterState *); | |
| extern void _PyExc_Fini(PyInterpreterState *); | |
| /* other API */ | |
| struct _Py_exc_state { | |
| // The dict mapping from errno codes to OSError subclasses | |
| PyObject *errnomap; | |
| PyBaseExceptionObject *memerrors_freelist; | |
| int memerrors_numfree; | |
| // The ExceptionGroup type | |
| PyObject *PyExc_ExceptionGroup; | |
| }; | |
| extern void _PyExc_ClearExceptionGroupType(PyInterpreterState *); | |
| } | |