From: Kyle Stanley Date: Sat, 21 Sep 2019 06:18:40 +0000 (-0400) Subject: Doc: Add whatsnew entry for loop.shutdown_default_executor() (GH-16308) X-Git-Tag: v3.9.0a1~368 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=030fe8e34d3879ffbd57b702b111ee6d4e011441;p=thirdparty%2FPython%2Fcpython.git Doc: Add whatsnew entry for loop.shutdown_default_executor() (GH-16308) --- diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index deaefc753916..200d9627ca52 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 ---------