Skip to content

Commit 588558c

Browse files
committed
Clarify that start() was doing the bad wrapping, not Nursery.__aexit__
1 parent 92b0719 commit 588558c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

newsfragments/2611.bugfix.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
When a starting function raises before calling :func:`trio.TaskStatus.started`,
22
:func:`trio.Nursery.start` will no longer wrap the exception in an undocumented
3-
:exc:`ExceptionGroup`. Previously, an :exc:`ExceptionGroup` was added when using
4-
``trio.run(..., strict_exception_groups=True)``.
3+
:exc:`ExceptionGroup`. Previously, :func:`trio.Nursery.start` would incorrectly
4+
raise an :exc:`ExceptionGroup` containing it when using ``trio.run(...,
5+
strict_exception_groups=True)``.

0 commit comments

Comments
 (0)