Brett Cannon <br...@python.org> added the comment:
A PR is now up. I ended up deprecating the load_module() methods in importlib itself and then raise ImportWarning in the import system itself when falling back to load_module(). ---------- stage: patch review -> test needed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue26131> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com