[issue42580] ctypes.util.find_library("libc") fails
Eryk Sun
report at bugs.python.org
Tue Feb 16 10:29:24 EST 2021
Eryk Sun <eryksun at gmail.com> added the comment:
Can't there be a library named "libc" with the shared module "liblibc.so"? It seems to me that the _is_elf() function added in issue 41976 is breaking the contract that "[i]f no library can be found, returns None". It's not supposed to leak arbitrary exceptions from the implementation if the library isn't found.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42580>
_______________________________________
More information about the Python-bugs-list
mailing list