Staging
v0.5.0
https://github.com/python/cpython
Revision d2a8e5b42c5e9c4e745a0589043a8aebb49f8ca2 authored by Victor Stinner on 20 March 2020, 12:38:58 UTC, committed by GitHub on 20 March 2020, 12:38:58 UTC
COMPUTE_EVAL_BREAKER() now also checks if the Python thread state
belongs to the main interpreter. Don't break the evaluation loop if
there are pending signals but the Python thread state it belongs to a
subinterpeter.

* Add _Py_IsMainThread() function.
* Add _Py_ThreadCanHandleSignals() function.
1 parent da2914d
History
Tip revision: d2a8e5b42c5e9c4e745a0589043a8aebb49f8ca2 authored by Victor Stinner on 20 March 2020, 12:38:58 UTC
bpo-40010: COMPUTE_EVAL_BREAKER() checks for subinterpreter (GH-19087)
Tip revision: d2a8e5b
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.8 KB
.gitignore -rw-r--r-- 1.8 KB
.travis.yml -rw-r--r-- 8.1 KB
CODE_OF_CONDUCT.md -rw-r--r-- 630 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 66.8 KB
README.rst -rw-r--r-- 9.9 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 495.9 KB
configure.ac -rw-r--r-- 166.1 KB
install-sh -rwxr-xr-x 15.0 KB
netlify.toml -rw-r--r-- 82 bytes
pyconfig.h.in -rw-r--r-- 44.1 KB
setup.py -rw-r--r-- 103.1 KB

README.rst

back to top