New submission from Eric Snow: For #14578 we added WindowsRegistryFinder to importlib and try adding it to sys.meta_path during bootstrap (see bd58c421057c).
I happened to notice that in _install() in Lib/importlib/_bootstrap.py we check os.__name__. Shouldn't it be os.name? os.__name__ is always going to be "os"! p.s. I'm guessing that finder doesn't get used a whole lot. ;) ---------- components: Interpreter Core messages: 216936 nosy: brett.cannon, eric.snow, loewis priority: normal severity: normal stage: test needed status: open title: WindowsRegistryFinder never added to sys.meta_path type: behavior _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21319> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com