From 4ca9bcbf73fcb69585a607d79f7553f797277417 Mon Sep 17 00:00:00 2001 From: Peter Bierma Date: Thu, 18 Sep 2025 08:01:39 -0400 Subject: [PATCH] Document Py_AddPendingCall() change in 3.12. --- Doc/c-api/init.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 199b64387266bf..4b8884f48e8b28 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -1834,6 +1834,10 @@ pointer and a void pointer argument. called from the main interpreter. Each subinterpreter now has its own list of scheduled calls. + .. versionchanged:: 3.12 + This function now always schedules *func* to be run in the main + interpreter. + .. _profiling: Profiling and Tracing