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
Grammar -rw-r--r-- 9.6 KB
Tokens -rw-r--r-- 1.5 KB

back to top