]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
whatsnew: collections no longer implicitly imports 'abc' (#20784).
authorR David Murray <rdmurray@bitdance.com>
Thu, 13 Mar 2014 16:00:17 +0000 (12:00 -0400)
committerR David Murray <rdmurray@bitdance.com>
Thu, 13 Mar 2014 16:00:17 +0000 (12:00 -0400)
Doc/whatsnew/3.4.rst

index 564496696093c298297748b8ae85a99151b94dc9..0630e7000d4e3b6d7c86995fedbc00a159ec2242 100644 (file)
@@ -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
 --------------------