[issue14578] importlib doesn't check Windows registry for paths
Brett Cannon
report at bugs.python.org
Mon Jul 23 16:47:35 CEST 2012
Brett Cannon <brett at python.org> added the comment:
I just wanted to say that Amaury's proof-of-concept looks right (although what is returned by the registry isn't a "fullname" but a file path so I would at least change that variable name and you wouldn't append this mat path finder but instead insert it before PathFinder).
And to answer the question of what to pass in, technically it's the tail part of the name for full backwards-compatibility, but that's stupid as it creates an ambiguity e.g. a package named foo vs. a submodule named pkg.foo, so I say use the full name of the module when looking something up in the registry.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14578>
_______________________________________
More information about the Python-bugs-list
mailing list