[issue40610] ctypes on Windows: error message on DLL load failure is misleading

2020-05-12 Thread Eryk Sun
Eryk Sun added the comment: bpo-39393 improved the error message to mention "(or one of its dependencies)". That's the best we can reasonably do. A developer can monitor "loader snaps" messages in a debugger in order to discover the missing DLL and the directories where the loader looked

[issue40610] ctypes on Windows: error message on DLL load failure is misleading

2020-05-12 Thread Jack Jansen
New submission from Jack Jansen : On Windows, when ctypes fails to load a DLL, the error message is misleading. If a dependency of the DLL cannot be found if appears as if the DLL itself cannot be found. This issue has always existed on Windows (and I know it is due to what the OS provides