Commit a5a3db70 authored by Guido van Rossum's avatar Guido van Rossum

Under NT, interface to mysterious module registry. (Mark H.)

parent e71a947f
......@@ -413,6 +413,14 @@ find_module(name, path, buf, buflen, p_fp)
struct filedescr *fdp;
FILE *fp = NULL;
#ifdef NT
if ((fp=PyWin_FindRegisteredModule(name, &fdp, buf, buflen))!=NULL) {
*p_fp = fp;
return fdp;
}
#endif
if (path == NULL)
path = sysget("path");
if (path == NULL || !is_listobject(path)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment