[issue16492] Add a load_parents argument to importlib.find_loader()

2013-12-19 Thread Eric Snow
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 importlib.

[issue16492] Add a load_parents argument to importlib.find_loader()

2012-12-03 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue16492] Add a load_parents argument to importlib.find_loader()

2012-11-17 Thread Brett Cannon
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 way