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.