SIGN IN SIGN UP

bpo-30436: Raise ModuleNotFoundError for importlib.util.find_spec() when parent isn't a package (GH-1899)

Previously AttributeError was raised, but that's not very reflective of the fact that the requested module can't be found since the specified parent isn't actually a package.
M
Milan Oberkirch committed
8c3f05e9f0f0b30a3d4a2433e92471794d8258af
Parent: 32fd874
Committed by Brett Cannon <brettcannon@users.noreply.github.com> on 6/14/2017, 9:34:50 PM