Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c021340

Browse filesBrowse files
committed
Add NEWS entry for gh-133465.
1 parent 3983e97 commit c021340
Copy full SHA for c021340

File tree

Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
:c:func:`PyErr_CheckSignals` has been changed to acquire the global
2+
interpreter lock (GIL) itself, only when necessary (i.e. when it has work to
3+
do). This means that modules that perform lengthy computations with the GIL
4+
released may now call :c:func:`PyErr_CheckSignals` during those computations
5+
without re-acquiring the GIL first. (However, it must be *safe to* acquire
6+
the GIL at each point where :c:func:`PyErr_CheckSignals` is called. Also,
7+
keep in mind that it can run arbitrary Python code before returning to you.)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.