消息 [372595]
> 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. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2020-06-29 15:56:29 | steve.dower | 修改 | recipients:
+ steve.dower, paul.moore, vstinner, tim.golden, zach.ware, Tibor Csonka, miss-islington, anthonywee |
| 2020-06-29 15:56:29 | steve.dower | 修改 | messageid: <1593446189.36.0.099843213054.issue29778@roundup.psfhosted.org> |
| 2020-06-29 15:56:29 | steve.dower | 链接 | issue29778 messages |
| 2020-06-29 15:56:29 | steve.dower | 创建 | |
|