[issue12437] _ctypes.dlopen does not include errno in OSError
Santoso Wijaya
report at bugs.python.org
Wed Jun 29 03:09:40 CEST 2011
Santoso Wijaya <santoso.wijaya at gmail.com> added the comment:
On Windows:
>>> try:
... ctypes.CDLL('somelib')
... except OSError as exc:
... print repr(exc)
... print exc.errno
...
WindowsError(126, 'The specified module could not be found')
22
----------
nosy: +santa4nt
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12437>
_______________________________________
More information about the Python-bugs-list
mailing list