[issue36085] Enable better DLL resolution
Steve Dower
report at bugs.python.org
Fri Mar 29 18:42:26 EDT 2019
Steve Dower <steve.dower at python.org> added the comment:
So symlinking didn't work (Python is too clever for that these days ;) ), but straight copying the exe and required DLLs is fine.
It puts python.exe, python38.dll and vcruntime140.dll (properly discovered of course) into a temp directory, puts _sqlite3.pyd into a subdirectory and only allows imports from that directory and the pure stdlib (for encodings). Then we test with add_dll_directory(), then copy sqlite3.dll in and test again without.
Assuming tests all pass, I consider this complete now.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36085>
_______________________________________
More information about the Python-bugs-list
mailing list