Steve Dower <[email protected]> added the comment:

Since collections.abc is a module, it should work if you import it:

>>> import collections.abc
>>> collections.abc.Container
<class 'collections.abc.Container'>

Submodules being implicitly imported is not part of any API guarantee, which 
will be why somebody changed it without considering this impact.

----------

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue45776>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to