[pypy-svn] r75358 - pypy/trunk/pypy/module/zipimport
fijal at codespeak.net
fijal at codespeak.net
Sun Jun 13 06:37:13 CEST 2010
Author: fijal
Date: Sun Jun 13 06:37:10 2010
New Revision: 75358
Modified:
pypy/trunk/pypy/module/zipimport/interp_zipimport.py
Log:
Change the level of caching. Cache, because we have to, but actually don't
reuse the value. Bummer for bug-to-bug compatibility
Modified: pypy/trunk/pypy/module/zipimport/interp_zipimport.py
==============================================================================
--- pypy/trunk/pypy/module/zipimport/interp_zipimport.py (original)
+++ pypy/trunk/pypy/module/zipimport/interp_zipimport.py Sun Jun 13 06:37:10 2010
@@ -351,7 +351,6 @@
raise operationerrfmt(w_ZipImportError,
"Cannot import %s from zipfile, recursion detected or"
"already tried and failed", name)
- return w_result
except KeyError:
zip_cache.cache[filename] = None
try:
More information about the Pypy-commit
mailing list