Skip to content

Commit

Permalink
Clarify that start() was doing the bad wrapping, not Nursery.__aexit__
Browse files Browse the repository at this point in the history
  • Loading branch information
gschaffner committed Oct 31, 2023
1 parent 92b0719 commit 14faacc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions newsfragments/2611.bugfix.rst
Original file line number Diff line number Diff line change
@@ -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)``.

0 comments on commit 14faacc

Please sign in to comment.