      if (path == NULL)
          return MI_ERROR;
  
-@@ -312,6 +350,7 @@ get_module_info(ZipImporter *self, PyObject *fullname)
+@@ -312,6 +351,7 @@ get_module_info(ZipImporter *self, PyObject *fullname)
              Py_DECREF(path);
              return MI_ERROR;
          }

     int type;
 };
 
@@ -23,15 +25,20 @@ _Py_IDENTIFIER(replace);
    non-package .pyc, .pyo and .py entries. The .pyc and .pyo entries
    are swapped by initzipimport() if we run in optimized mode. Also,
    '/' is replaced by SEP there. */

 
 
 #define ZipImporter_Check(op) PyObject_TypeCheck(op, &ZipImporter_Type)
@@ -289,20 +298,50 @@ check_is_directory(ZipImporter *self, PyObject* prefix, PyObject *path)
     return res;
 }
 
