-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from oremanj/remote-start
Fix service nursery shielding when TaskStatus.started() is called from outside the new task
- Loading branch information
Showing
3 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
:func:`open_service_nursery` no longer assumes that ``TaskStatus.started()`` | ||
will be called from inside the task that was just started. This restores | ||
feature parity with regular Trio nurseries, which allow ``started()`` to be | ||
called anywhere, and fixes | ||
`trio-asyncio issue #135 <https://github.com/python-trio/trio-asyncio/issues/135>`__. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters