mirror of
https://github.com/python/cpython.git
synced 2025-09-28 19:25:27 +00:00
Doc: Add whatsnew entry for loop.shutdown_default_executor() (GH-16308)
This commit is contained in:
parent
bb16fb2cb8
commit
030fe8e34d
1 changed files with 7 additions and 0 deletions
|
@ -116,6 +116,13 @@ Added the *indent* option to :func:`~ast.dump` which allows it to produce a
|
||||||
multiline indented output.
|
multiline indented output.
|
||||||
(Contributed by Serhiy Storchaka in :issue:`37995`.)
|
(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
|
threading
|
||||||
---------
|
---------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue