[python-win32] HKLM\Software\Python\PythonCore\2.6\PythonPath - does it serve any purpose?

David Robinow drobinow at gmail.com
Wed Jan 6 22:06:51 CET 2010


On Wed, Jan 6, 2010 at 2:39 PM, Paul Keating <keating at acm.org> wrote:
> What is the registry key HKLM\Software\Python\PythonCore\2.6\PythonPath for?
> The docs (http://www.python.org/doc/2.6/using/windows.html) say
>
> Modifying the module search path can also be done through the Windows
> registry: Edit
> HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\version\PythonPath
>
> but this doesn't work.
...
> So, why is that registry key there at all? And why does sys.path have the
> nonexistent plat-win in it, even in Python 3.0? Is it just historical
> baggage?
>
> I would like to see the registry key once again working as advertised. I
> know I can set the pythonpath environment variable, and I also know that
> environment variables just live in another registry key, but changing that
> key strikes me as inelegant. Python stuff should live in Software\Python,
> not in System\CurrentControlSet.
>
> If the registry key turned out to be a bad idea, it would be illuminating to
> know why.
> --
> Paul Keating
> The Hague
This is really the wrong list. The developers hang out at the python-dev list.
(They'll probably tell you to file a bug report!)


More information about the python-win32 mailing list