From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 3 Oct 2025 20:20:35 +0000 (+0200) Subject: [3.14] Document `Py_AddPendingCall()` change with subinterpreters in 3.12 (GH-139117... X-Git-Tag: v3.14.0~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=292b6cf3e67d1d127ebaf5e7b57c706ba8f9610a;p=thirdparty%2FPython%2Fcpython.git [3.14] Document `Py_AddPendingCall()` change with subinterpreters in 3.12 (GH-139117) (#139118) Co-authored-by: Peter Bierma --- 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