The following program raises a KeyboardInterrupt from an asyncio context. It prints
MARK
MARK
MARK
raising
and then hangs. The use of the nursery here is just to demonstrate that the mark function isn't being run anymore.
I would expect the program to die with a KeyboardInterrupt Error, but it just hangs and pressing Control-C also doesn't stop the program.
The following program raises a KeyboardInterrupt from an asyncio context. It prints
and then hangs. The use of the nursery here is just to demonstrate that the mark function isn't being run anymore. I would expect the program to die with a KeyboardInterrupt Error, but it just hangs and pressing Control-C also doesn't stop the program.