Lars Friedrich <lars.friedr...@leica-microsystems.com> added the comment:
Thank you for your reply. I am not sure if I understood correctly: Do you suggest to modify ctypes.__init__.py so that the __getattr__ method of LibraryLoader catches the OSError and raises an AttributeError instead, as in your example? ---------- _______________________________________ 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