]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Doc: Add whatsnew entry for loop.shutdown_default_executor() (GH-16308)
authorKyle Stanley <aeros167@gmail.com>
Sat, 21 Sep 2019 06:18:40 +0000 (02:18 -0400)
committerStéphane Wirtel <stephane@wirtel.be>
Sat, 21 Sep 2019 06:18:40 +0000 (08:18 +0200)
Doc/whatsnew/3.9.rst

index deaefc7539167d011c3ccea70ee7809b8b3fec3c..200d9627ca52f66ebdd6b7aa897b70c9868ead7a 100644 (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
 ---------