Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r60441:850797658e3b
Date: 2013-01-24 17:16 -0800
http://bitbucket.org/pypy/pypy/changeset/850797658e3b/
Log: requires an explicit relative import on py3k
diff --git a/lib_pypy/ctypes_config_cache/dumpcache.py
b/lib_pypy/ctypes_config_cache/dumpcache.py
--- a/lib_pypy/ctypes_config_cache/dumpcache.py
+++ b/lib_pypy/ctypes_config_cache/dumpcache.py
@@ -19,7 +19,7 @@
# XXX relative import, should be removed together with
# XXX the relative imports done e.g. by lib_pypy/pypy_test/test_hashlib
mod = __import__("_%s_%%s_" %% (cpumodel,),
- globals(), locals(), ["*"])
+ globals(), locals(), ["*"], level=1)
globals().update(mod.__dict__)\
''' % (basename,)
g.close()
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit