(original) (raw)

changeset: 89635:d575398d1916 user: R David Murray rdmurray@bitdance.com date: Thu Mar 13 12:00:17 2014 -0400 files: Doc/whatsnew/3.4.rst description: whatsnew: collections no longer implicitly imports 'abc' (#20784). diff -r 361c10d06b9c -r d575398d1916 Doc/whatsnew/3.4.rst --- a/Doc/whatsnew/3.4.rst Thu Mar 13 11:33:29 2014 -0400 +++ b/Doc/whatsnew/3.4.rst Thu Mar 13 12:00:17 2014 -0400 @@ -2436,6 +2436,13 @@ 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 -------------------- /rdmurray@bitdance.com