diff options
author | Ćukasz Langa <lukasz@langa.pl> | 2019-06-04 11:03:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-04 11:03:20 (GMT) |
commit | 7f9a2ae78051877f4d966119e2fcd27ec77eda1d (patch) | |
tree | 47e66e32ff78edd1a14b42fabd04804efe9c8690 /Doc/library/asyncio-eventloop.rst | |
parent | 8f4bbb5d627e07a5508099e84796cecaeb9e32ab (diff) | |
download | cpython-7f9a2ae78051877f4d966119e2fcd27ec77eda1d.zip cpython-7f9a2ae78051877f4d966119e2fcd27ec77eda1d.tar.gz cpython-7f9a2ae78051877f4d966119e2fcd27ec77eda1d.tar.bz2 |
Revert "bpo-34037, asyncio: add BaseEventLoop.wait_executor_on_close (GH-13786)" (#13802)
This reverts commit 0f0a30f4da4b529e0f7df857b9f575b231b32758.
Diffstat (limited to 'Doc/library/asyncio-eventloop.rst')
-rw-r--r-- | Doc/library/asyncio-eventloop.rst | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst index f75ca9a..8673f84 100644 --- a/Doc/library/asyncio-eventloop.rst +++ b/Doc/library/asyncio-eventloop.rst @@ -140,18 +140,12 @@ Running and stopping the loop The loop must not be running when this function is called. Any pending callbacks will be discarded. - This method clears all queues and shuts down the default executor. By - default, it waits for the default executor to finish. Set - *loop.wait_executor_on_close* to ``False`` to not wait for the executor. + This method clears all queues and shuts down the executor, but does + not wait for the executor to finish. This method is idempotent and irreversible. No other methods should be called after the event loop is closed. - .. versionchanged:: 3.8 - The method now waits for the default executor to finish by default. - Added *loop.wait_executor_on_close* attribute. - - .. coroutinemethod:: loop.shutdown_asyncgens() Schedule all currently open :term:`asynchronous generator` objects to |