[issue20784] 'collections.abc' is no longer defined when collections is imported
Antoine Pitrou
report at bugs.python.org
Wed Feb 26 20:09:53 CET 2014
Antoine Pitrou added the comment:
> I'm pretty sure that if you import "x", there are zero guarantees that
> "x.y" will work. The offical line is that you must explicitly import
> all the deepest submodules you use.
I'm not sure why you're saying that. I think it's quite common to only
"import os" and then use os.path.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20784>
_______________________________________
More information about the Python-bugs-list
mailing list