[issue34816] raise AttributeError if loading fails in ctypes.LibraryLoader.__getattr__
Ateeq Sharfuddin
report at bugs.python.org
Sat Apr 3 22:29:42 EDT 2021
Ateeq Sharfuddin <ateeq.sharfuddin at gmail.com> added the comment:
First patch fixing only the issue at hand on master. LibraryLoader now catches OSError for FileNotFoundError and raises AttributeError.
----------
Added file: https://bugs.python.org/file49932/34816.patch
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34816>
_______________________________________
More information about the Python-bugs-list
mailing list