Staging
v0.5.1
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
c-api
data
distributing
distutils
extending
faq
howto
includes
install
installing
library
reference
tools
tutorial
using
whatsnew
Makefile -rw-r--r-- 8.5 KB
README.rst -rw-r--r-- 4.6 KB
about.rst -rw-r--r-- 1.5 KB
bugs.rst -rw-r--r-- 4.7 KB
conf.py -rw-r--r-- 6.7 KB
contents.rst -rw-r--r-- 538 bytes
copyright.rst -rw-r--r-- 451 bytes
glossary.rst -rw-r--r-- 52.2 KB
license.rst -rw-r--r-- 45.2 KB
make.bat -rw-r--r-- 5.5 KB
myfile.bz2 -rw-r--r-- 331 bytes
requirements.txt -rw-r--r-- 128 bytes
runtime.txt -rw-r--r-- 3 bytes

README.rst

back to top