Skip to content

Commit 030fe8e

Browse files
aerosmatrixise
authored andcommitted
Doc: Add whatsnew entry for loop.shutdown_default_executor() (GH-16308)
1 parent bb16fb2 commit 030fe8e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Doc/whatsnew/3.9.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,13 @@ Added the *indent* option to :func:`~ast.dump` which allows it to produce a
116116
multiline indented output.
117117
(Contributed by Serhiy Storchaka in :issue:`37995`.)
118118

119+
asyncio
120+
-------
121+
122+
Added a new couroutine :meth:`loop.shutdown_default_executor` that schedules
123+
a shutdown for the default executor that waits on the threadpool to finish
124+
closing. Also, :func:`asyncio.run` has been updated to use the new coroutine.
125+
(Contributed by Kyle Stanley in :issue:`34037`.)
119126

120127
threading
121128
---------

0 commit comments

Comments
 (0)