-
-
Notifications
You must be signed in to change notification settings - Fork 29.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5111d7d
commit fe6ecc4
Showing
1 changed file
with
8 additions
and
0 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
Misc/NEWS.d/next/Core and Builtins/2023-06-02-15-15-41.gh-issue-104812.dfZiG5.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
The "pending call" machinery now works for all interpreters, not just the | ||
main interpreter, and runs in all threads, not just the main thread. Some | ||
calls are still only done in the main thread, ergo in the main interpreter. | ||
This change does not affect the existing public C-API | ||
(``Py_AddPendingCall()``) which still only targets the main thread. The new | ||
functionality is meant strictly for internal use. This change brings the | ||
capability in line with the intention when the state was made | ||
per-interpreter several years ago. |