Don't stop the loop in run_until_complete() on SystemExit and KeyboardInterrupt exceptions#337
Don't stop the loop in run_until_complete() on SystemExit and KeyboardInterrupt exceptions#337fantix merged 3 commits intoMagicStack:masterfrom Jackenmen:patch-1
run_until_complete() on SystemExit and KeyboardInterrupt exceptions#337Conversation
|
Can you add a unittest? |
|
@1st1 I added the unit test based on CPython's equivalent and rebased the PR's branch on top of master. |
|
I've rebased this on top of I'm also mentioning this since I'm hoping this could get included in the next release, whenever it's ready of course :) |
|
Thanks for the PR! The thing is the test is NOT failing without the fix, I'm looking into it now. UPDATE: Looks like this cpython test was added before |
Co-authored-by: Victor Stinner <victor.stinner@gmail.com>
Fixes #336