[Python-bugs-list] [ python-Bugs-406824 ] 2.1b1 pythonpath registry error.

nobody nobody@usw-sf-web3.sourceforge.net
Wed, 07 Mar 2001 13:11:20 -0800


Bugs #406824, was updated on 2001-03-07 13:11
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=406824&group_id=5470

Category: Python Interpreter Core
Group: Platform-specific
Status: Open
Priority: 5
Submitted By: Ernie Sasaki
Assigned to: Nobody/Anonymous
Summary: 2.1b1 pythonpath registry error.

Initial Comment:
Using python 2.1b1 under Win98SE, I am unable to set 
pythonpath using the registry (setting the PYTHONPATH 
env var works). 

Stepping thru getpythonregpath() from getpathp.c, the 
registry is searched for 
HKLM\Software\Python\PythonCore\2.1\PythonPath. 
Unfortunately, the windows installer (quite 
understandably) puts things at 
HKLM\Software\Python\PythonCore\2.1b1\PythonPath so 
the registry lookup fails.

It would appear that the string table loaded in 
dl_nt.c is out-of-date but I hesitated to change the 
string loaded into dllVersionBuffer because I wasn't 
sure if there would be other consequences.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=406824&group_id=5470