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
Raw File
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
CODE_OF_CONDUCT.md
# Code of Conduct

Please note that all interactions on
[Python Software Foundation](https://www.python.org/psf-landing/)-supported
infrastructure is [covered](https://www.python.org/psf/records/board/minutes/2014-01-06/#management-of-the-psfs-web-properties)
by the [PSF Code of Conduct](https://www.python.org/psf/codeofconduct/),
which includes all the infrastructure used in the development of Python itself
(e.g. mailing lists, issue trackers, GitHub, etc.).

In general, this means that everyone is expected to be **open**, **considerate**, and
**respectful** of others no matter what their position is within the project.

back to top