Message380893
> This code cannot be interrupted with ^C on Windows (e.g. in the REPL)
I tested manually: it's now fixed in 3.9 and master branches.
Thanks for the bug report Guido.
Signal handling is hard. Threads + signals is worse! :-) I modified _PyEval_SignalReceived() to always set eval_breaker to 1. See comments of my commit for the long rationale ;-)
If someone knows how to write an automated test for that on Windows, please create a PR and open a new issue ;-) |
|
Date |
User |
Action |
Args |
2020-11-13 14:35:57 | vstinner | set | recipients:
+ vstinner, gvanrossum, paul.moore, tim.golden, Mark.Shannon, zach.ware, serhiy.storchaka, eryksun, steve.dower, miss-islington |
2020-11-13 14:35:57 | vstinner | set | messageid: <1605278157.16.0.455285546277.issue42296@roundup.psfhosted.org> |
2020-11-13 14:35:57 | vstinner | link | issue42296 messages |
2020-11-13 14:35:57 | vstinner | create | |
|