[New-bugs-announce] [issue35935] threading.Event().wait() not interruptable with Ctrl-C on Windows
Chris Billington
report at bugs.python.org
Thu Feb 7 20:12:57 EST 2019
New submission from Chris Billington <chrisjbillington at gmail.com>:
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.
----------
components: Windows
messages: 335049
nosy: Chris Billington, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: threading.Event().wait() not interruptable with Ctrl-C on Windows
type: behavior
versions: Python 2.7, Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35935>
_______________________________________
More information about the New-bugs-announce
mailing list