From a36102b4c94bed254cc564f57220bb820a0da23a Mon Sep 17 00:00:00 2001 From: jakkdl Date: Thu, 26 Oct 2023 15:09:03 +0200 Subject: [PATCH] add newsfragment for issue #2611, PR #2826 --- newsfragments/2611.bugfix.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 newsfragments/2611.bugfix.rst diff --git a/newsfragments/2611.bugfix.rst b/newsfragments/2611.bugfix.rst new file mode 100644 index 0000000000..2af824a7d7 --- /dev/null +++ b/newsfragments/2611.bugfix.rst @@ -0,0 +1 @@ +With ``strict_exception_groups=True``, when you ran a function in a nursery which raised an exception before calling ``task_status.started()``, it previously got wrapped twice over in ``ExceptionGroup`` in some cases. It no longer does that, and also won't wrap any ``ExceptionGroup`` raised by the function itself.