Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Open
Description
The following public C API is new in 3.13 (beta 1, relative to 3.12), and as of this writing it looks either
- undocumented, or
- documented incorrectly. See the docs search page for what Sphinx thinks the type and fully-quilfied name of the symbol are; it should be aC entry without extraneous namespaces. (The details tend to matter for search, URLs, and Intersphinx links.)
See also:3.14
PY_MACCONFIG_HinInclude/pymacconfig.h(header guards don't need docs)PY_MONITORING_EVENT_BRANCHinInclude/cpython/monitoring.hPY_MONITORING_EVENT_CALLinInclude/cpython/monitoring.hPY_MONITORING_EVENT_C_RAISEinInclude/cpython/monitoring.hPY_MONITORING_EVENT_C_RETURNinInclude/cpython/monitoring.hPY_MONITORING_EVENT_EXCEPTION_HANDLEDinInclude/cpython/monitoring.hPY_MONITORING_EVENT_INSTRUCTIONinInclude/cpython/monitoring.hPY_MONITORING_EVENT_JUMPinInclude/cpython/monitoring.hPY_MONITORING_EVENT_LINEinInclude/cpython/monitoring.hPY_MONITORING_EVENT_PY_RESUMEinInclude/cpython/monitoring.hPY_MONITORING_EVENT_PY_RETURNinInclude/cpython/monitoring.hPY_MONITORING_EVENT_PY_STARTinInclude/cpython/monitoring.hPY_MONITORING_EVENT_PY_THROWinInclude/cpython/monitoring.hPY_MONITORING_EVENT_PY_UNWINDinInclude/cpython/monitoring.hPY_MONITORING_EVENT_PY_YIELDinInclude/cpython/monitoring.hPY_MONITORING_EVENT_RAISEinInclude/cpython/monitoring.hPY_MONITORING_EVENT_RERAISEinInclude/cpython/monitoring.hPY_MONITORING_EVENT_STOP_ITERATIONinInclude/cpython/monitoring.hPY_MONITORING_IS_INSTRUMENTED_EVENTinInclude/cpython/monitoring.hPyCF_OPTIMIZED_ASTinInclude/cpython/compile.hPyEval_GetFrameBuiltinsinInclude/ceval.h:25PyEval_GetFrameGlobalsinInclude/ceval.h:26PyEval_GetFrameLocalsinInclude/ceval.h:27PyExc_IncompleteInputErrorinInclude/pyerrors.h:111PyExc_PythonFinalizationErrorinInclude/cpython/pyerrors.h:129PyFrameLocalsProxy_CheckinInclude/cpython/pyframe.hPyFrameLocalsProxy_TypeinInclude/cpython/pyframe.h:6PyMonitoring_EnterScopeinInclude/cpython/monitoring.h:44PyMonitoring_ExitScopeinInclude/cpython/monitoring.h:48PyRefTracerEventinInclude/cpython/object.h:516,Include/cpython/object.h:519PyUnstable_AtExitinInclude/cpython/pylifecycle.h:91PyUnstable_CopyPerfMapFileinInclude/cpython/sysmodule.h:20PyUnstable_EXECUTABLE_KINDSinInclude/cpython/pyframe.hPyUnstable_EXECUTABLE_KIND_BUILTIN_FUNCTIONinInclude/cpython/pyframe.hPyUnstable_EXECUTABLE_KIND_METHOD_DESCRIPTORinInclude/cpython/pyframe.hPyUnstable_EXECUTABLE_KIND_PY_FUNCTIONinInclude/cpython/pyframe.hPyUnstable_EXECUTABLE_KIND_SKIPinInclude/cpython/pyframe.hPyUnstable_ExecutableKindsinInclude/cpython/pyframe.h:45PyUnstable_GetExecutorinInclude/cpython/optimizer.h:137(now removed)PyUnstable_GetOptimizerinInclude/cpython/optimizer.h:135(now removed)PyUnstable_InterpreterState_GetMainModuleinInclude/cpython/pystate.h:11PyUnstable_Optimizer_NewCounterinInclude/cpython/optimizer.h:145(now removed)PyUnstable_Optimizer_NewUOpOptimizerinInclude/cpython/optimizer.h:146(now removed)PyUnstable_PerfTrampoline_CompileCodeinInclude/cpython/sysmodule.h:21PyUnstable_PerfTrampoline_SetPersistAfterForkinInclude/cpython/sysmodule.h:22PyUnstable_Replace_ExecutorinInclude/cpython/optimizer.h:129(now removed)PyUnstable_SetOptimizerinInclude/cpython/optimizer.h:133(now removed)Py_ASNATIVEBYTES_BIG_ENDIANinInclude/cpython/longobject.hPy_ASNATIVEBYTES_DEFAULTSinInclude/cpython/longobject.hPy_ASNATIVEBYTES_LITTLE_ENDIANinInclude/cpython/longobject.hPy_ASNATIVEBYTES_NATIVE_ENDIANinInclude/cpython/longobject.hPy_ASNATIVEBYTES_REJECT_NEGATIVEinInclude/cpython/longobject.hPy_ASNATIVEBYTES_UNSIGNED_BUFFERinInclude/cpython/longobject.hPy_ATOMIC_HinInclude/pyatomic.h(header guards don't need docs)Py_CAN_START_THREADSinInclude/pyport.h:463(removed in 3.14)Py_C_RECURSION_LIMITinInclude/cpython/pystate.h:215Py_MOD_GIL_NOT_USEDinInclude/moduleobject.h:69Py_MOD_GIL_USEDinInclude/moduleobject.h:69Py_MONITORING_HinInclude/monitoring.h(header guards don't need docs)Py_OPTIMIZER_HinInclude/cpython/optimizer.h(header guards don't need docs)Py_TPFLAGS_INLINE_VALUESinInclude/object.h:632Py_TRASHCAN_HEADROOMinInclude/cpython/object.h:463CO_NO_MONITORING_EVENTSinInclude/cpython/code.h:192
Some more are generated by configure, I guess that's low priority:
HAVE_CLOCK_Tin./pyconfig.h:138HAVE_CLOSEFROMin./pyconfig.h:138HAVE_GETGRENTin./pyconfig.h:138HAVE_GRANTPTin./pyconfig.h:515HAVE_POSIX_OPENPTin./pyconfig.h:849HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSEFROM_NPin./pyconfig.h:849HAVE_PROCESS_VM_READVin./pyconfig.h:849HAVE_PTSNAMEin./pyconfig.h:957HAVE_PTSNAME_Rin./pyconfig.h:957HAVE_SOCKLEN_Tin./pyconfig.h:957HAVE_SYS_TIMERFD_Hin./pyconfig.h:1406HAVE_TIMERFD_CREATEin./pyconfig.h:1406HAVE_UNLOCKPTin./pyconfig.h:1406HAVE___UINT128_Tin./pyconfig.h:1582WITH_MIMALLOCin./pyconfig.h:1867
Linked PRs
- gh-118915: Add/fix docs entries for some new 3.13 C API #124134
- [3.13] gh-118915: Add/fix docs entries for some new 3.13 C API (GH-124134) #124244
- gh-118915: C API: Document frame locals proxies. #127720
- [3.13] gh-118915: C API: Document frame locals proxies. (GH-127720) #127831
- gh-118915: Add document of
PY_MONITORING_IS_INSTRUMENTED_EVENT#128026 - gh-118915: Document
PyUnstable_InterpreterState_GetMainModule#128483 - [3.13] gh-118915: Document
PyUnstable_InterpreterState_GetMainModule(GH-128483) #128677 - gh-118915: C API: Document compiler flag macros #129028
- [3.13] gh-118915: C API: Document compiler flag macros (GH-129028) #129086
- gh-118915: Fix bad link in documentation #129691
- [3.13] gh-118915: Fix bad link in documentation (GH-129691) #129723
- [3.13] gh-118915: Document
PY_MONITORING_IS_INSTRUMENTED_EVENT(GH-128026) #131424