This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, brian.curtin, techtonik
Date 2011-01-07.17:53:16
SpamBayes Score 3.86968e-07
Marked as misclassified No
Message-id <1294422798.48.0.879072167523.issue10854@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-01-07 17:53:18amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, techtonik, brian.curtin
2011-01-07 17:53:18amaury.forgeotdarcsetmessageid: <1294422798.48.0.879072167523.issue10854@psf.upfronthosting.co.za>
2011-01-07 17:53:16amaury.forgeotdarclinkissue10854 messages
2011-01-07 17:53:16amaury.forgeotdarccreate