Index: Python/import.c =================================================================== RCS file: /projects/cvsroot/python/dist/src/Python/import.c,v retrieving revision 2.110 retrieving revision 2.111 diff -c -r2.110 -r2.111 *** import.c 1998/05/14 02:32:54 2.110 --- import.c 1998/05/19 15:09:05 2.111 *************** *** 1664,1672 **** struct filedescr *fdp; FILE *fp = NULL; ! path = PyObject_GetAttrString(mod, "__path__"); ! if (path == NULL) ! PyErr_Clear(); buf[0] = '\0'; fdp = find_module(subname, path, --- 1664,1679 ---- struct filedescr *fdp; FILE *fp = NULL; ! if (mod == Py_None) ! path = NULL; ! else { ! path = PyObject_GetAttrString(mod, "__path__"); ! if (path == NULL) { ! PyErr_Clear(); ! Py_INCREF(Py_None); ! return Py_None; ! } ! } buf[0] = '\0'; fdp = find_module(subname, path,