[issue33895] LoadLibraryExW called with GIL held can cause deadlock
Tony Roberts
report at bugs.python.org
Tue Jun 19 11:27:46 EDT 2018
Tony Roberts <tony at pyxll.com> added the comment:
Sure, that's reasonable :)
For my case I have a usable workaround so not back porting it to < 3.8 is fine for me. My workaround will just leak the thread state if another thread is in __import__, which happens so rarely that it's not really a problem (but not rarely enough that blocking is acceptable!). The other cases changed in this PR would cause the same issue, but in practice for my application it's unlikely.
Thanks!
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33895>
_______________________________________
More information about the Python-bugs-list
mailing list