whatsnew: collections no longer implicitly imports 'abc' (#20784).

This commit is contained in:
R David Murray 2014-03-13 12:00:17 -04:00
parent b895505625
commit d73721a7e4

View 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 have things that look like doctests in them you may see test failures you've
never seen before when running your tests (:issue:`3158`). 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 Changes in the C API
-------------------- --------------------