[issue21319] WindowsRegistryFinder never added to sys.meta_path
Eric Snow
report at bugs.python.org
Mon Apr 21 07:04:26 CEST 2014
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 <report at bugs.python.org>
<http://bugs.python.org/issue21319>
_______________________________________
More information about the Python-bugs-list
mailing list