[issue33895] LoadLibraryExW called with GIL held can cause deadlock

Steve Dower report at bugs.python.org
Tue Jun 19 11:16:33 EDT 2018


Steve Dower <steve.dower at python.org> added the comment:

Yeah, just after posting I remembered that the blocker is the loader lock and not filesystem/arbitrary code.


Still, "I don't think" isn't sufficient to justify making the change in 3.7 or earlier. If we can show that properly working code could never have assumed the GIL, then I guess it's fine, but otherwise it's too risky.

Making the change without any deprecation period in 3.8 is fine.

----------

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


More information about the Python-bugs-list mailing list