From 8b14536a581fa5f8fb7335b7f774f580a3d2ac98 Mon Sep 17 00:00:00 2001 From: Kyle Stanley Date: Tue, 21 Apr 2020 15:57:00 -0400 Subject: [PATCH 1/2] Add Python API whatsnew for loop.shutdown_default_executor() --- Doc/whatsnew/3.9.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index c4b49feed9fc1d..3e3e676f9423dc 100644 --- a/Doc/whatsnew/3.9.rst +++ b/Doc/whatsnew/3.9.rst @@ -827,6 +827,11 @@ Changes in the Python API in the object itself. (Contributed by Serhiy Storchaka in :issue:`40257`.) +* :meth:`asyncio.loop.shutdown_default_executor` has been added added to + :class:`~asyncio.AbstractEventLoop`, meaning alternative event loops that + inherit from it should have this method defined. + (Contributed by Kyle Stanley in :issue:`34037`.) + CPython bytecode changes ------------------------ From 6539f8011b14af2a9d1320f0c96765b776b57045 Mon Sep 17 00:00:00 2001 From: Kyle Stanley Date: Tue, 21 Apr 2020 16:33:10 -0400 Subject: [PATCH 2/2] Fix typo Co-Authored-By: Victor Stinner --- Doc/whatsnew/3.9.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index 3e3e676f9423dc..20ebe92865a146 100644 --- a/Doc/whatsnew/3.9.rst +++ b/Doc/whatsnew/3.9.rst @@ -827,7 +827,7 @@ Changes in the Python API in the object itself. (Contributed by Serhiy Storchaka in :issue:`40257`.) -* :meth:`asyncio.loop.shutdown_default_executor` has been added added to +* :meth:`asyncio.loop.shutdown_default_executor` has been added to :class:`~asyncio.AbstractEventLoop`, meaning alternative event loops that inherit from it should have this method defined. (Contributed by Kyle Stanley in :issue:`34037`.)