[issue33895] LoadLibraryExW called with GIL held can cause deadlock

Eryk Sun report at bugs.python.org
Tue Jun 19 12:34:46 EDT 2018


Eryk Sun <eryksun at gmail.com> added the comment:

In some of these cases, it would be simpler to just remove the explicit dynamic linking. 3.6+ doesn't support XP, so CancelIoEx, CreateSymbolicLinkW, RegDeleteKeyExW, RegDisableReflectionKey, RegEnableReflectionKey, and RegQueryReflectionKey can be linked implicitly. 3.7+ doesn't support Vista, in which case GetMaximumProcessorCount can be linked implicitly. (It should be GetActiveProcessorCount. See issue 33166.) OTOH, ShellExecuteExW is loaded explicitly on purpose to avoid a static dependency on shell32.dll.

----------
nosy: +eryksun

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33895>
_______________________________________


More information about the Python-bugs-list mailing list