New submission from Chris Billington <chrisjbilling...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue35935>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to