[issue21042] ctypes.util.find_library() should return full pathname instead of filename in linux

Tamás Bence Gedai report at bugs.python.org
Sat Feb 6 07:06:09 EST 2016


Tamás Bence Gedai added the comment:

Added a new patch, as Martin pointed out, I put back the ABI matching. The regex looks quite ugly, because it has to match \n\t. To be exact, it has to match something like this: "/lib/x86_64-linux-gnu/libc.so.6\n\tlibbz2.so.1.0 (libc6,x86-64)".

I updated the docs, although I don't know what should I write for the version, please someone help me with that.

For testing, there's a test function in this module, I updated that.

----------
Added file: http://bugs.python.org/file41835/find_lib_v1.patch

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


More information about the Python-bugs-list mailing list