mirror of
https://github.com/python/cpython.git
synced 2026-05-07 13:10:37 -04:00
d2a8e5b42c
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.
Miscellaneous source files for the main Python shared library