From 8fd515c7b9d80fbbaf913f92f923b85abd4761bc Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 4 Oct 2021 12:28:55 -0400 Subject: [PATCH] Add nooz --- newsfragments/239.bug.rst | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 newsfragments/239.bug.rst diff --git a/newsfragments/239.bug.rst b/newsfragments/239.bug.rst new file mode 100644 index 0000000..bf9138a --- /dev/null +++ b/newsfragments/239.bug.rst @@ -0,0 +1,6 @@ +Fix keyboard interrupt handling in ``Portal.open_context()`` blocks. + +Previously this not triggering cancellation of the remote task context +and could result in hangs if a stream was also opened. This fix is to +accept `BaseException` since it is likely any other top level exception +other then kbi (even though not expected) should also get this result.