Matthias Klose added the comment: so what you could do is to define more than one SOABI. The code in Python/dynload_shlib.c reads:
"." SOABI ".so", ".abi" PYTHON_ABI_STRING ".so", ".so", so it still recognizes .so names. If you want to recognize architecture specific sonames, then you would need something like "." "cpython-35m-<cpu>-darwin" ".so", "." "cpython-35m-darwin" ".so", ".abi" PYTHON_ABI_STRING ".so", ".so", that would prefer to load the most specific so. Unfortunately that would be also seen as the visible soname to build extensions, which is probably not something like you want. I still would prefer to use darwin instead of macosx, because that's the way config.sub/config.guess recognizes this platform. ---------- status: pending -> open _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23969> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com