Amaury Forgeot d'Arc <[email protected]> added the comment:

The code is in Python/dynload_win.c

To load an extension module mymodule.pyd, Python calls 
LoadLibrary('/path/to/mymodule.pyd'); when it returns NULL, the code calls 
GetLastError() (which returns 126 in this case) then FormatMessage to get an 
error message.

To get the full path to the .pyd, you can use imp.find_module(), but there is 
nothing else we can do I fear.

----------

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue10854>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to