[issue21319] WindowsRegistryFinder never added to sys.meta_path
Tim Golden
report at bugs.python.org
Thu Apr 2 20:25:39 CEST 2015
Tim Golden added the comment:
Turns out to be non-issue after all! I was working through the import code for other reasons and noticed that the WindowsRegistryFinder was there. I'll spare you the complications of debugging the _bootstrap part of import, but basically the code in _bootstrap.py:_setup loads the "nt" module directly instead of having it masquerade as "os" as it normally does. Therefore os.__name__ is indeed "nt" and the WindowsRegistryFinder is added to sys.meta_path
----------
resolution: -> works for me
stage: test needed -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21319>
_______________________________________
More information about the Python-bugs-list
mailing list