Steve Dower added the comment:

I've seen some module paths be registered there, but no, it doesn't really get 
used much (maybe because it's been broken?) os.name is certainly the right test 
here.

FWIW, I'd rather be prioritising file system over registry for finding packages 
anyway. It makes it much easier to set up app-local installs of Python (there 
are also conflicts between e.g. Canopy and CPython virtual environments because 
of the registry...). I know this is mostly getpath.c's fault and not importlib 
though.

----------

_______________________________________
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

Reply via email to