Eric Snow added the comment:
find_loader() is now deprecated and we're going to support auto-importing
parent modules in find_spec() (see #19944)
--
nosy: +eric.snow
resolution: - duplicate
stage: test needed - committed/rejected
status: open - closed
superseder: - Make
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16492
___
___
New submission from Brett Cannon:
To make using importlib.find_loader() easier, there should be a flag that says
to automatically import all parent packages for the desired submodule so as to
not force the user to do it::
def find_loader(name, path=None, *, load_parents=False): ...
That