[issue34816] raise AttributeError if loading fails in ctypes.LibraryLoader.__getattr__

2021-04-03 Thread Ateeq Sharfuddin


Ateeq Sharfuddin  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 
<https://bugs.python.org/issue34816>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34816] raise AttributeError if loading fails in ctypes.LibraryLoader.__getattr__

2021-04-03 Thread Ateeq Sharfuddin


Change by Ateeq Sharfuddin :


--
keywords: +patch
nosy: +ateeq
nosy_count: 2.0 -> 3.0
pull_requests: +23918
stage: test needed -> patch review
pull_request: https://github.com/python/cpython/pull/25177

___
Python tracker 
<https://bugs.python.org/issue34816>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com