Author Chris Billington
Recipients Chris Billington, paul.moore, steve.dower, tim.golden, zach.ware
Date 2019-02-08.01:12:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1549588377.49.0.765820535798.issue35935@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-02-08 01:13:01Chris Billingtonsetrecipients: + Chris Billington, paul.moore, tim.golden, zach.ware, steve.dower
2019-02-08 01:12:57Chris Billingtonsetmessageid: <1549588377.49.0.765820535798.issue35935@roundup.psfhosted.org>
2019-02-08 01:12:57Chris Billingtonlinkissue35935 messages
2019-02-08 01:12:57Chris Billingtoncreate