mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
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.
This commit is contained in:
parent
571210b8f3
commit
89ff88be89
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue