]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Document `Py_AddPendingCall()` change with subinterpreters in 3.12 (GH-139117)
authorPeter Bierma <zintensitydev@gmail.com>
Thu, 18 Sep 2025 12:10:41 +0000 (08:10 -0400)
committerGitHub <noreply@github.com>
Thu, 18 Sep 2025 12:10:41 +0000 (12:10 +0000)
commit89ff88be89328964dbc50a474a84c566fe920b46
treee1e0726424dd3e3606582557d49dcefdd1a9c09a
parent571210b8f34a54922e5eb11d65060d7a77b8bdf0
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.
Doc/c-api/init.rst