Vlad Riscutia <riscutiav...@gmail.com> added the comment:

Not sure how this can be fixed actually. I don't think PyErr_SetFromErrno 
instead of PyErr_SetString would work because as far as I can tell, standard 
does not mention dlopen making use of errno. Unlike Windows, where LoadLibrary 
will change last-error, if dlopen fails, only way to retrieve error is to 
dlerror which returns a string, no error code.

----------
nosy: +vladris

_______________________________________
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