Eryk Sun <eryk...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue42580>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to