summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-02-18 15:28:53 (GMT)
committerGitHub <noreply@github.com>2020-02-18 15:28:53 (GMT)
commitaf5ee3ff610377ef446c2d88bbfcbb3dffaaf0c9 (patch)
tree7ff1bebfb610a10bd5ab888b012aa3e58686fc4f /Misc
parent6e35da976370e7c2e028165c65d7d7d42772a71f (diff)
downloadcpython-af5ee3ff610377ef446c2d88bbfcbb3dffaaf0c9.zip
cpython-af5ee3ff610377ef446c2d88bbfcbb3dffaaf0c9.tar.gz
cpython-af5ee3ff610377ef446c2d88bbfcbb3dffaaf0c9.tar.bz2
bpo-39674: Revert "bpo-25988: Do not expose abstract collection classes in the collections module. (GH-10596)" (GH-18545)
This reverts commit ef092fe9905f61ca27889092ca1248a11aa74498. Update collections __getattr__() and documentation to defer aliases removal to Python 3.10.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2020-02-18-12-31-24.bpo-39674.S_zqVM.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-02-18-12-31-24.bpo-39674.S_zqVM.rst b/Misc/NEWS.d/next/Library/2020-02-18-12-31-24.bpo-39674.S_zqVM.rst
new file mode 100644
index 0000000..1d0e906
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-02-18-12-31-24.bpo-39674.S_zqVM.rst
@@ -0,0 +1,4 @@
+Revert "Do not expose abstract collection classes in the collections module"
+change (bpo-25988). Aliases to ABC like collections.Mapping are kept in
+Python 3.9 to ease transition from Python 2.7, but will be removed in Python
+3.10.