You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a task spawned with :meth:`~trio.Nursery.start` that hasn't yet called
36
+
``started()``, this is the nursery that the task was nominally started in,
37
+
where it will be running once it finishes starting up. In all other cases,
38
+
it is ``None``. (`#1558 <https://github.com/python-trio/trio/issues/1558>`__)
39
+
40
+
41
+
Bugfixes
42
+
~~~~~~~~
43
+
44
+
- Added a helpful error message if an async function is passed to `trio.to_thread.run_sync`. (`#1573 <https://github.com/python-trio/trio/issues/1573>`__)
45
+
46
+
47
+
Deprecations and removals
48
+
~~~~~~~~~~~~~~~~~~~~~~~~~
49
+
50
+
- Remove ``BlockingTrioPortal``: it was deprecated in 0.12.0. (`#1574 <https://github.com/python-trio/trio/issues/1574>`__)
51
+
- The ``tiebreaker`` argument to `trio.testing.wait_all_tasks_blocked`
52
+
has been deprecated. This is a highly obscure feature that was
53
+
probably never used by anyone except `trio.testing.MockClock`, and
54
+
`~trio.testing.MockClock` doesn't need it anymore. (`#1587 <https://github.com/python-trio/trio/issues/1587>`__)
55
+
- Remove the deprecated ``trio.ssl`` and ``trio.subprocess`` modules. (`#1594 <https://github.com/python-trio/trio/issues/1594>`__)
56
+
57
+
58
+
Miscellaneous internal changes
59
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60
+
61
+
- We refactored `trio.testing.MockClock` so that it no longer needs to
62
+
run an internal task to manage autojumping. This should be mostly
63
+
invisible to users, but there is one semantic change: the interaction
64
+
between `trio.testing.wait_all_tasks_blocked` and the autojump clock
65
+
was fixed. Now, the autojump will always wait until after all
66
+
`~trio.testing.wait_all_tasks_blocked` calls have finished before
67
+
firing, instead of it depending on which threshold values you passed. (`#1587 <https://github.com/python-trio/trio/issues/1587>`__)
0 commit comments