R. David Murray added the comment: Brett: Martin is calling pkgutil.find_loader, which is not marked as deprecated, and then calling load_module on the returned loader, which apparently does *almost* what he wants but not quite.
Martin: maybe you should explain your use case in more detail. Probably there is a better way to accomplish it using importlib directly. Unless one of your issues is needing to write 2/3 compatible code... ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25372> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com