[pypy-commit] pypy default: Fix the ".pypy-26.so" extension, i.e. stop updating it to ".pypy-XY.so".
arigo
noreply at buildbot.pypy.org
Tue Jun 9 15:24:18 CEST 2015
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r77992:97d59353f34e
Date: 2015-06-09 15:24 +0200
http://bitbucket.org/pypy/pypy/changeset/97d59353f34e/
Log: Fix the ".pypy-26.so" extension, i.e. stop updating it to ".pypy-
XY.so".
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
@@ -30,7 +30,15 @@
IMP_HOOK = 9
SO = '.pyd' if _WIN32 else '.so'
-DEFAULT_SOABI = 'pypy-%d%d' % PYPY_VERSION[:2]
+
+# this used to change for every minor version, but no longer does: there
+# is little point any more, as the so's tend to be cross-version-
+# compatible, more so than between various versions of CPython. Be
+# careful if we need to update it again: it is now used for both cpyext
+# and cffi so's. If we do have to update it, we'd likely need a way to
+# split the two usages again.
+#DEFAULT_SOABI = 'pypy-%d%d' % PYPY_VERSION[:2]
+DEFAULT_SOABI = 'pypy-26'
@specialize.memo()
def get_so_extension(space):
More information about the pypy-commit
mailing list