summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Stanley <aeros167@gmail.com>2019-09-21 02:18:40 -0400
committerStéphane Wirtel <stephane@wirtel.be>2019-09-21 08:18:40 +0200
commit030fe8e34d3879ffbd57b702b111ee6d4e011441 (patch)
treeff307cd1f90cfc418c6f18de85c31e02364e588d
parentbb16fb2cb8dca1fa1d67621c3175793eda7dbdc2 (diff)
downloadcpython-git-030fe8e34d3879ffbd57b702b111ee6d4e011441.tar.gz
Doc: Add whatsnew entry for loop.shutdown_default_executor() (GH-16308)
-rw-r--r--Doc/whatsnew/3.9.rst7
1 files changed, 7 insertions, 0 deletions
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
---------