Message335049
I'm experiencing that the following short program:
import threading
event = threading.Event()
event.wait()
Cannot be interrupted with Ctrl-C on Python 2.7.15 or 3.7.1 on Windows 10 (using the Anaconda Python distribution).
However, if the wait is given a timeout:
import threading
event = threading.Event()
while True:
if event.wait(10000):
break
then this is interruptable on Python 2.7.15, but is still uninterruptible on Python 3.7.1. |
|
Date |
User |
Action |
Args |
2019-02-08 01:13:01 | Chris Billington | set | recipients:
+ Chris Billington, paul.moore, tim.golden, zach.ware, steve.dower |
2019-02-08 01:12:57 | Chris Billington | set | messageid: <1549588377.49.0.765820535798.issue35935@roundup.psfhosted.org> |
2019-02-08 01:12:57 | Chris Billington | link | issue35935 messages |
2019-02-08 01:12:57 | Chris Billington | create | |
|