[Import-SIG] Windows registry imports

Nick Coghlan ncoghlan at gmail.com
Mon Aug 1 02:17:40 CEST 2011

imports based on the Windows registry are one of the parts of the
import system that I know the least about, so I'd appreciate a second
opinion on this tracker issue: http://bugs.python.org/issue12648
(someone ran across the behaviour where installed copies of Python on
Windows don't let you shadow stdlib modules).

However, I can't find any real reference to the intended operation of
this functionality or its reason for existence - just Guido's initial
checkin back in 1996 of the files he received from Mark Hammond

http://docs.python.org/using/windows.html#finding-modules describes
some additional sys.path entries retrieved from the registry, but says
nothing about the actual "/Module" entries that completely preempt
sys.path processing.


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Import-SIG mailing list