Commit 65c719a2 authored by Marius Wachtler's avatar Marius Wachtler

zipimport: Ignore bytecode files in archives

parent 9098ccf1
...@@ -1177,8 +1177,7 @@ get_module_code(ZipImporter *self, char *fullname, ...@@ -1177,8 +1177,7 @@ get_module_code(ZipImporter *self, char *fullname,
if (isbytecode) { if (isbytecode) {
// Pyston change: We don't support bytecode archives currently // Pyston change: We don't support bytecode archives currently
// mtime = get_mtime_of_source(self, path); // mtime = get_mtime_of_source(self, path);
PyErr_Format(ZipImportError, "Pyston can't load bytecode from archives yet. ' '%.200s'", fullname); continue;
return NULL;
} }
if (p_ispackage != NULL) if (p_ispackage != NULL)
......
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