summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.7.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2018-01-29 16:27:49 (GMT)
committerGitHub <noreply@github.com>2018-01-29 16:27:49 (GMT)
commite6d342156d2ab20fb88c0a5ec615fa8f602c0769 (patch)
treed5d14dc05f25c556bbad4c9f9c5d551b7ea95570 /Doc/whatsnew/3.7.rst
parent4f4ef0acbad81f4b05f370e8ff14ddf949773291 (diff)
downloadcpython-e6d342156d2ab20fb88c0a5ec615fa8f602c0769.zip
cpython-e6d342156d2ab20fb88c0a5ec615fa8f602c0769.tar.gz
cpython-e6d342156d2ab20fb88c0a5ec615fa8f602c0769.tar.bz2
bpo-25988: Deprecate exposing collections.abc in collections GH-5414
Diffstat (limited to 'Doc/whatsnew/3.7.rst')
-rw-r--r--Doc/whatsnew/3.7.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index e36e505..71070df 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -880,6 +880,11 @@ Other CPython Implementation Changes
Deprecated
==========
+* In Python 3.8, the abstract base classes in :mod:`collections.abc` will no
+ longer be exposed in the regular :mod:`collections` module. This will help
+ create a clearer distinction between the concrete classes and the abstract
+ base classes.
+
* Yield expressions (both ``yield`` and ``yield from`` clauses) are now deprecated
in comprehensions and generator expressions (aside from the iterable expression
in the leftmost :keyword:`for` clause). This ensures that comprehensions