Issue 1232023: MS Windows - module search path fix (original) (raw)

Issue1232023

Created on 2005-07-04 05:57 by thanan, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
module_search_pathfix.patch thanan,2005-07-04 05:57 Initial module search path fix - Windows
Messages (2)
msg48567 - (view) Author: K. Thananchayan (thanan) Date: 2005-07-04 05:57
Module search path initialization code for Windows (PC) contains empty component(s) if Python home is determined and registry key "Software/Python/PythonCore//PythonPath" of HKLM or HKCU exists but does not any subkeys as usually the case. This(ese) empyt componentes transformed into current directory later causing to load modules in the current directory in preference to modules in the installation. This patch removes this(ese) empty component(s) from initial module search path.
msg48568 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2006-07-24 11:55
Logged In: YES user_id=21627 Thanks for the patch. Committed as r50796 (for 2.5) I won't backport this to 2.4.x, as this change in behaviour might break existing installations.
History
Date User Action Args
2022-04-11 14:56:12 admin set github: 42158
2005-07-04 05:57:28 thanan create