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
fixes
pgen2
tests
Grammar.txt -rw-r--r-- 6.6 KB
PatternGrammar.txt -rw-r--r-- 793 bytes
__init__.py -rw-r--r-- 163 bytes
__main__.py -rw-r--r-- 67 bytes
btm_matcher.py -rw-r--r-- 6.5 KB
btm_utils.py -rw-r--r-- 9.7 KB
fixer_base.py -rw-r--r-- 6.5 KB
fixer_util.py -rw-r--r-- 14.8 KB
main.py -rw-r--r-- 11.6 KB
patcomp.py -rw-r--r-- 6.9 KB
pygram.py -rw-r--r-- 1.3 KB
pytree.py -rw-r--r-- 27.3 KB
refactor.py -rw-r--r-- 26.9 KB

back to top