Santoso Wijaya <santoso.wij...@gmail.com> added the comment:

>From what I gather from the code, when dlopen fails in POSIX platforms, ctypes 
>raises an PyExc_OSError instantiated with a simple string (via 
>PyErr_SetString()). I suppose this could be changed to raise a more complex 
>tuple, instead (like its WindowsError equivalent when LoadLibrary fails in 
>Windows platforms), but that might break existing code that relies on this 
>behavior. 3.3 only?

----------

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

Reply via email to