[issue29399] python3.dll export forwarders not resolved in all situations due to missing python3?.dll dependency and DLL search path behavior

Steve Dower report at bugs.python.org
Thu Feb 25 17:39:36 EST 2021


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

Yeah, but in that scenario, it is just as good to LoadLibrary("python39.dll") and use it as if it was LoadLibrary("python3.dll") because the interaction model is identical.

The only reason to load python3.dll explicitly is if you are not keeping it adjacent to python39.dll, and so you need to pre-load it before the interpreter tries to import a native module. It doesn't provide any benefit for the host app other than not having to know what DLL you're loading, and most of us consider a critical security vulnerability rather than a feature ;)

----------

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


More information about the Python-bugs-list mailing list