]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] Document `Py_AddPendingCall()` change with subinterpreters in 3.12 (GH-139117...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 18 Sep 2025 12:17:06 +0000 (14:17 +0200)
committerGitHub <noreply@github.com>
Thu, 18 Sep 2025 12:17:06 +0000 (12:17 +0000)
commit24b699231bba785d30309969fec9a049b2a294ac
treeea2469406b14ac98db8537b30e4cfca894b0d67c
parent3b2440256814f0f663556aceba868bef15b58205
[3.13] Document `Py_AddPendingCall()` change with subinterpreters in 3.12 (GH-139117) (GH-139119)

Document `Py_AddPendingCall()` change with subinterpreters in 3.12 (GH-139117)

Prior to 3.9, Py_AddPendingCall() would always run pending calls in the main interpreter, but then each interpreter got their own ceval state, and they were scheduled for any interpreter. In GH-104813, this was undone, so Py_AddPendingCall() would always schedule for the main interpreter.
(cherry picked from commit 89ff88be89328964dbc50a474a84c566fe920b46)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Doc/c-api/init.rst