Staging
v0.8.1
Revision e5729aef6ff67ae7ed05dffc0855477823826191 authored by Miss Islington (bot) on 13 November 2020, 14:11:38 UTC, committed by GitHub on 13 November 2020, 14:11:38 UTC

On Windows, fix a regression in signal handling which prevented to
interrupt a program using CTRL+C. The signal handler can be run in a
thread different than the Python thread, in which case the test
deciding if the thread can handle signals is wrong.

On Windows, _PyEval_SignalReceived() now always sets eval_breaker to
1 since it cannot test _Py_ThreadCanHandleSignals(), and
  eval_frame_handle_pending() always calls
  _Py_ThreadCanHandleSignals() to recompute eval_breaker.
(cherry picked from commit d96a7a83133250377219227b5cfab4dbdddc5d3a)

Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent bc77704
History
File Mode Size
__init__.py -rw-r--r-- 5.7 KB
dumb.py -rw-r--r-- 11.3 KB
gnu.py -rw-r--r-- 72 bytes
ndbm.py -rw-r--r-- 70 bytes

back to top