Kaydet (Commit) d73721a7 authored tarafından R David Murray's avatar R David Murray

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

üst b8955056
...@@ -2436,6 +2436,13 @@ Changes in the Python API ...@@ -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
-------------------- --------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment