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

Milan Oberkirch report at bugs.python.org
Wed May 31 23:18:22 EDT 2017


Milan Oberkirch added the comment:

I added a PR changing the exception raised as suggested, reviews welcome!

----------
nosy: +zvyn

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


More information about the Python-bugs-list mailing list