summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-03-13 16:00:17 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-03-13 16:00:17 (GMT)
commitd73721a7e46c6b978250789de5e483669cfe5a0e (patch)
treed47eb52ff38a3ae04d6e518eeb4779a99d352c23
parentb8955056252f528c5471b64aea24668a5289ab35 (diff)
downloadcpython-d73721a7e46c6b978250789de5e483669cfe5a0e.zip
cpython-d73721a7e46c6b978250789de5e483669cfe5a0e.tar.gz
cpython-d73721a7e46c6b978250789de5e483669cfe5a0e.tar.bz2
whatsnew: collections no longer implicitly imports 'abc' (#20784).
-rw-r--r--Doc/whatsnew/3.4.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
index 5644966..0630e70 100644
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -2436,6 +2436,13 @@ Changes in the Python API
have things that look like doctests in them you may see test failures you've
never seen before when running your tests (:issue:`3158`).
+* The :mod:`collections.abc` module has been slightly refactored as
+ part of the Python startup improvements. As a consequence of this, it is no
+ longer the case that importing :mod:`collections` automatically imports
+ :mod:`collections.abc`. If your program depended on the (undocumented)
+ implicit import, you will need to add an explicit ``import collections.abc``
+ (:issue:`20784`).
+
Changes in the C API
--------------------