Author: Manuel Jacob <[email protected]>
Branch: py3.3
Changeset: r78191:f02eca6ea2cb
Date: 2015-06-18 20:25 +0200
http://bitbucket.org/pypy/pypy/changeset/f02eca6ea2cb/
Log: Re-add has_so_extension() to module/imp/importing.py (it was removed
during the last merge because I thought it's dead code).
diff --git a/pypy/module/imp/importing.py b/pypy/module/imp/importing.py
--- a/pypy/module/imp/importing.py
+++ b/pypy/module/imp/importing.py
@@ -52,6 +52,10 @@
return '.' + soabi + SO
+def has_so_extension(space):
+ return (space.config.objspace.usemodules.cpyext or
+ space.config.objspace.usemodules._cffi_backend)
+
def check_sys_modules(space, w_modulename):
return space.finditem(space.sys.get('modules'), w_modulename)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit