Steve Dower <steve.do...@python.org> added the comment:
> I understand that LoadLibraryExW() must not be attempted if _Py_dll_path is > empty, or if Py_GetPrefix() is empty. Am I right? More likely those should never be empty. Perhaps sys.prefix is optional, but the DLL path is the current executing module, and should always be set. I suspect you're right, that 3.7 is also affected. But earlier versions would only _not_ fill the DLL path for static (non-shared) builds. It looks like Py_SetPath in 3.7 started clearing it unnecessarily, so that may be the cause. ---------- stage: resolved -> needs patch _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue29778> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com