diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2018-01-29 16:27:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-29 16:27:49 (GMT) |
commit | e6d342156d2ab20fb88c0a5ec615fa8f602c0769 (patch) | |
tree | d5d14dc05f25c556bbad4c9f9c5d551b7ea95570 /Doc/whatsnew | |
parent | 4f4ef0acbad81f4b05f370e8ff14ddf949773291 (diff) | |
download | cpython-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')
-rw-r--r-- | Doc/whatsnew/3.7.rst | 5 |
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 |