[Python-checkins] Update whatsnew for 3.10 release about addition of contextlib.aclosing (GH-23217)
asvetlov
webhook-mailer at python.org
Tue Nov 10 10:19:22 EST 2020
https://github.com/python/cpython/commit/3eb284622579d04289d0e3b2e97fbf56df6e845e
commit: 3eb284622579d04289d0e3b2e97fbf56df6e845e
branch: master
author: Joongi Kim <joongi at lablup.com>
committer: asvetlov <andrew.svetlov at gmail.com>
date: 2020年11月10日T17:19:11+02:00
summary:
Update whatsnew for 3.10 release about addition of contextlib.aclosing (GH-23217)
files:
M Doc/whatsnew/3.10.rst
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index a735bf235435c..95cdb06f997b1 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -176,6 +176,13 @@ codecs
Add a :func:`codecs.unregister` function to unregister a codec search function.
(Contributed by Hai Shi in :issue:`41842`.)
+contextlib
+----------
+
+Add a :func:`contextlib.aclosing` context manager to safely close async generators
+and objects representing asynchronously released resources.
+(Contributed by Joongi Kim and John Belmonte in :issue:`41229`.)
+
curses
------
More information about the Python-checkins
mailing list