[issue16754] Incorrect shared library extension on linux

Sandro Mani report at bugs.python.org
Tue Jan 29 00:15:50 CET 2013


Sandro Mani added the comment:

So, from what I can see, historically the SO extension was taken from sysconfig.py, see [1] lines 24 and 60. Then, the CCompiler class got overhauled, and the value was hardcoded to ".so", see [2], but the "compiler.shared_lib_extension = SO" statement remained, presumably oversight. So technically, this is also affecting python 2.x, though in that case it does not make any difference, since python2 does not use versioned so-names for binary modules.

[1] http://hg.python.org/cpython/file/2802fb52e99b/Lib/distutils/unixccompiler.py
[2] http://hg.python.org/cpython/rev/7922d08426ca

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16754>
_______________________________________


More information about the Python-bugs-list mailing list