From 14faacc359c323c192e31c0cc98d9fd40c5ac8f7 Mon Sep 17 00:00:00 2001 From: Ganden Schaffner Date: Tue, 31 Oct 2023 00:00:00 -0700 Subject: [PATCH] Clarify that start() was doing the bad wrapping, not Nursery.__aexit__ --- newsfragments/2611.bugfix.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/newsfragments/2611.bugfix.rst b/newsfragments/2611.bugfix.rst index d252744959..0bf87d37a2 100644 --- a/newsfragments/2611.bugfix.rst +++ b/newsfragments/2611.bugfix.rst @@ -1,4 +1,5 @@ When a starting function raises before calling :func:`trio.TaskStatus.started`, :func:`trio.Nursery.start` will no longer wrap the exception in an undocumented -:exc:`ExceptionGroup`. Previously, an :exc:`ExceptionGroup` was added when using -``trio.run(..., strict_exception_groups=True)``. +:exc:`ExceptionGroup`. Previously, :func:`trio.Nursery.start` would incorrectly +wrap it in an :exc:`ExceptionGroup` when using ``trio.run(..., +strict_exception_groups=True)``.