[Python-Dev] Re: [Python-checkins] python/dist/src/Tools/freeze modulefinder.py,1.24,1.25
29 Nov 2002 09:58:36 +0100
Guido van Rossum <email@example.com> writes:
> > Log Message:
> > Don't look for modules in the registry any longer.
> > Mark writes in private email:
> > "Modules listed in the registry was a dumb idea. This whole scheme
> > can die. AFAIK, no one in the world uses it (including win32all
> > since the last build)."
> > (See also SF #643711)
> Woo hoo! Hurray! <extatic noises>
Actually this change broke modulefinder again, it doesn't find 'import
pywintypes' any longer. I think I have to install a new win32all
While I noticed that 'imp.find_module("pywintypes")' finds it, it
doesn't find it in this case: 'imp.find_module("pywintypes", sys.path)'.
Looking into import.c, PyWin_FindRegisteredModule() is only called if
path is NULL. If I understood Mark correctly, this function will have
to be removed. Is this correct?