Eryk Sun <eryk...@gmail.com> added the comment:

> __getattr__ method of LibraryLoader catches the OSError and 
> raises an AttributeError 

Yes. It seems no one was keen to work on this. I think it's relatively easy, so 
I'll add that flag in case someone is looking for an easy issue.

----------
keywords: +easy
title: ctypes + hasattr -> raise AttributeError if loading fails in 
ctypes.LibraryLoader.__getattr__
versions: +Python 3.10, Python 3.9 -Python 3.7

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

Reply via email to