/* Load a source module from a given file and return its module */
/* object WITH INCREMENTED REFERENCE COUNT. If there's a matching */
/* byte-compiled file, use that instead. */
static PyObject *
load_source_module(char *name, char *pathname, FILE *fp)
{
if (check_compiled_module(pathname, mtime, cpathname))) {
co = read_compiled_module(cpathname, fpc);
}
else {
write_compiled_module(co, cpathname, &st, mtime);
}
m = PyImport_ExecCodeModuleEx(name, (PyObject *)co, pathname);
}