summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2020-01-14 12:06:45 (GMT)
committerGitHub <noreply@github.com>2020-01-14 12:06:45 (GMT)
commita2ec3f07f7f028ff6229d6be2a7cfbda1f4efaeb (patch)
tree2ca30015db1da7016d3f0eff8e253dcfc298452a /Doc/whatsnew
parent1d1b97ae643dd8b22d87785ed7bd2599c6c8dc8d (diff)
downloadcpython-a2ec3f07f7f028ff6229d6be2a7cfbda1f4efaeb.zip
cpython-a2ec3f07f7f028ff6229d6be2a7cfbda1f4efaeb.tar.gz
cpython-a2ec3f07f7f028ff6229d6be2a7cfbda1f4efaeb.tar.bz2
bpo-39322: Add gc.is_finalized to check if an object has been finalised by the gc (GH-17989)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.9.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst
index 00409af..c949999 100644
--- a/Doc/whatsnew/3.9.rst
+++ b/Doc/whatsnew/3.9.rst
@@ -174,6 +174,10 @@ When the garbage collector makes a collection in which some objects resurrect
been executed), do not block the collection of all objects that are still
unreachable. (Contributed by Pablo Galindo and Tim Peters in :issue:`38379`.)
+Added a new function :func:`gc.is_finalized` to check if an object has been
+finalized by the garbage collector. (Contributed by Pablo Galindo in
+:issue:`39322`.)
+
imaplib
-------