[issue14578] importlib doesn't check Windows registry for paths

Amaury Forgeot d'Arc report at bugs.python.org
Fri Jul 27 08:33:10 CEST 2012


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

So I tried to make proper changes in _bootstrap.py, and regenerate importlib.h on Linux.
I don't have any Windows machine; all this is completely untested, but at least it can help some Windows developer to finish the work, and write unit tests...
(in case of bugs, if you don't know how to regenerate importlib.h, it's still possible to monkeypatch the WindowsRegistryImporter class; it's in sys.meta_path)

----------
keywords: +patch
Added file: http://bugs.python.org/file26536/winreg_loader.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14578>
_______________________________________


More information about the Python-bugs-list mailing list