summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.9.rst
diff options
context:
space:
mode:
authorKyle Stanley <aeros167@gmail.com>2019-09-21 06:18:40 (GMT)
committerStéphane Wirtel <stephane@wirtel.be>2019-09-21 06:18:40 (GMT)
commit030fe8e34d3879ffbd57b702b111ee6d4e011441 (patch)
treeff307cd1f90cfc418c6f18de85c31e02364e588d /Doc/whatsnew/3.9.rst
parentbb16fb2cb8dca1fa1d67621c3175793eda7dbdc2 (diff)
downloadcpython-030fe8e34d3879ffbd57b702b111ee6d4e011441.zip
cpython-030fe8e34d3879ffbd57b702b111ee6d4e011441.tar.gz
cpython-030fe8e34d3879ffbd57b702b111ee6d4e011441.tar.bz2
Doc: Add whatsnew entry for loop.shutdown_default_executor() (GH-16308)
Diffstat (limited to 'Doc/whatsnew/3.9.rst')
-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 deaefc7..200d962 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
---------