From 292b6cf3e67d1d127ebaf5e7b57c706ba8f9610a Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Fri, 3 Oct 2025 22:20:35 +0200 Subject: [PATCH] [3.14] Document `Py_AddPendingCall()` change with subinterpreters in 3.12 (GH-139117) (#139118) Co-authored-by: Peter Bierma --- 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 416bece23bcb..c36e0b4c0001 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -2002,6 +2002,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 -- 2.47.3