Doc: Add whatsnew entry for loop.shutdown_default_executor() (GH-16308)

This commit is contained in:
Kyle Stanley 2019-09-21 02:18:40 -04:00 committed by Stéphane Wirtel
parent bb16fb2cb8
commit 030fe8e34d
1 changed files with 7 additions and 0 deletions

View File

@ -116,6 +116,13 @@ Added the *indent* option to :func:`~ast.dump` which allows it to produce a
multiline indented output.
(Contributed by Serhiy Storchaka in :issue:`37995`.)
asyncio
-------
Added a new couroutine :meth:`loop.shutdown_default_executor` that schedules
a shutdown for the default executor that waits on the threadpool to finish
closing. Also, :func:`asyncio.run` has been updated to use the new coroutine.
(Contributed by Kyle Stanley in :issue:`34037`.)
threading
---------