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 steve.dower
Recipients Tibor Csonka, anthonywee, miss-islington, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2020-06-29.15:56:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1593446189.36.0.099843213054.issue29778@roundup.psfhosted.org>
In-reply-to
Content
> 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.
History
Date User Action Args
2020-06-29 15:56:29steve.dowersetrecipients: + steve.dower, paul.moore, vstinner, tim.golden, zach.ware, Tibor Csonka, miss-islington, anthonywee
2020-06-29 15:56:29steve.dowersetmessageid: <1593446189.36.0.099843213054.issue29778@roundup.psfhosted.org>
2020-06-29 15:56:29steve.dowerlinkissue29778 messages
2020-06-29 15:56:29steve.dowercreate