[issue30436] importlib.find_spec raises AttributeError when parent is not a package/module

Brett Cannon report at bugs.python.org
Wed Jun 14 17:34:53 EDT 2017


Brett Cannon added the comment:


New changeset 8c3f05e9f0f0b30a3d4a2433e92471794d8258af by Brett Cannon (Milan Oberkirch) in branch 'master':
bpo-30436: Raise ModuleNotFoundError for importlib.util.find_spec() when parent isn't a package (GH-1899)
https://github.com/python/cpython/commit/8c3f05e9f0f0b30a3d4a2433e92471794d8258af


----------

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


More information about the Python-bugs-list mailing list