From 030fe8e34d3879ffbd57b702b111ee6d4e011441 Mon Sep 17 00:00:00 2001 From: Kyle Stanley Date: Sat, 21 Sep 2019 02:18:40 -0400 Subject: Doc: Add whatsnew entry for loop.shutdown_default_executor() (GH-16308) --- Doc/whatsnew/3.9.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index deaefc7539..200d9627ca 100644 --- a/Doc/whatsnew/3.9.rst +++ b/Doc/whatsnew/3.9.rst @@ -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 --------- -- cgit v1.2.1