[issue12437] _ctypes.dlopen does not include errno in OSError

Santoso Wijaya report at bugs.python.org
Thu Aug 4 02:27:38 CEST 2011


Santoso Wijaya <santoso.wijaya at gmail.com> added the comment:

At least in Windows, the exception object has its `winerror` attribute correctly set to 126, which is also translated to POSIX `errno` with `winerror_to_errno()`; the latter gives us EINVAL (22).

----------
versions: +Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12437>
_______________________________________


More information about the Python-bugs-list mailing list