Author Drekin
Recipients Drekin, Kimmo.Parviainen-Jalanko, akuchling, asvetlov, gvanrossum, steve.dower, tim.golden, vstinner, yselivanov, zach.ware
Date 2015-07-05.14:24:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1436106276.65.0.756284720561.issue23057@psf.upfronthosting.co.za>
In-reply-to
Content
I've also run into this issue (see https://mail.python.org/pipermail/python-list/2015-July/693496.html and the following thread). I'm adding some small examples showing the behavior.

import asyncio

async def wait():
    await asyncio.sleep(5)

loop = asyncio.get_event_loop()
loop.run_until_complete(wait())

---

The following even smaller example by Terry Reedy and the OP from http://stackoverflow.com/questions/27480967/why-does-the-asyncios-event-loop-suppress-the-keyboardinterrupt-on-windows cannot be interrupted other way then shuting down whole process:

asyncio.get_event_loop().run_forever()

---

It would be nice the patch mentioned was eventually applied.
History
Date User Action Args
2015-07-05 14:24:36Drekinsetrecipients: + Drekin, gvanrossum, akuchling, vstinner, tim.golden, asvetlov, zach.ware, yselivanov, steve.dower, Kimmo.Parviainen-Jalanko
2015-07-05 14:24:36Drekinsetmessageid: <1436106276.65.0.756284720561.issue23057@psf.upfronthosting.co.za>
2015-07-05 14:24:36Drekinlinkissue23057 messages
2015-07-05 14:24:36Drekincreate