Commits

Marcus R. Brown committed 1d56750

Workaround an issue with DexOpt and zipimporter; will investigate later.

Comments (0)

Files changed (1)

src/org/python/core/PySystemState.java

         meta_path = new PyList();
         path_hooks = new PyList();
         path_hooks.append(new JavaImporter());
-        path_hooks.append(zipimporter.TYPE);
+// MRB TODO: Figure out why DexOpt says:
+// DexOpt: wanted instance, got static for field Lorg/python/modules/zipimport/zipimporter;.__doc__
+//        path_hooks.append(zipimporter.TYPE);
         path_hooks.append(ClasspathPyImporter.TYPE);
         path_importer_cache = new PyDictionary();