summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.9.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/whatsnew/3.9.rst')
-rw-r--r--Doc/whatsnew/3.9.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index d18eca8..689be1d 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -883,6 +883,11 @@ Removed
deprecated since 2006, and only returning ``False`` when it's called.
(Contributed by Batuhan Taskaya in :issue:`40208`)
+* The :meth:`asyncio.Task.current_task` and :meth:`asyncio.Task.all_tasks` have
+ have been removed. They were deprecated since Python 3.7 and you can use
+ :func:`asyncio.current_task` and :func:`asyncio.all_tasks` instead.
+ (Contributed by RĂ©mi Lapeyre in :issue:`40967`)
+
Porting to Python 3.9
=====================