[issue20784] 'collections.abc' is no longer defined when collections is imported

R. David Murray report at bugs.python.org
Wed Feb 26 19:58:57 CET 2014


R. David Murray added the comment:

It is a backward compatibility bug.  Something that used to work doesn't any more.  And it was explicitly *made* to work previously (the original __init__ statement was 'import collections.abc').  And it is is an implementation bug in the original patch because otherwise there would be no point in importing _collections_abc in __init__.

But you are right, it is relatively unlikely that anyone is relying on it.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20784>
_______________________________________


More information about the Python-bugs-list mailing list