*** Modules/zipimport.c 2005-11-10 10:29:49.000000000 +1000 --- Modules/zipimport.c.1351707 2005-11-10 10:29:44.000000000 +1000 *************** *** 433,440 **** toc_entry = PyDict_GetItemString(self->files, path); if (toc_entry == NULL) { ! PyErr_Format(PyExc_IOError, "file not found [%.200s]", ! path); return NULL; } return get_data(PyString_AsString(self->archive), toc_entry); --- 433,439 ---- toc_entry = PyDict_GetItemString(self->files, path); if (toc_entry == NULL) { ! PyErr_SetFromErrnoWithFilename(PyExc_IOError, path); return NULL; } return get_data(PyString_AsString(self->archive), toc_entry);