Eric Snow <ericsnowcurren...@gmail.com> added the comment: Of note for my patch is the addition of SUFFIXES and MODE to the 3 main "file loader" classes. I did this to reverse the dependence on imp.get_suffixes().
As well, a couple of extra functions are added to Python/importlib/_bootstrap.py for a similar reason, but should also be meaningful externally in their own right. load_module_from_file(), is one of these, though the current incarnation relies on a mythical new method on loaders that may not pass muster. (FWIW, I accidently included the use_of_imp.txt file in the patch and don't intend it to get included) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13959> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com