Steve Dower <steve.do...@python.org> added the comment: How is this an improvement over loading the DLL explicitly? Even if subpackages require the file, your top level __init__.py will run before they are loaded and it can import a pyd that's known to be next to the file or it can LoadLibrary the contents of .libs itself.
Modifying the search path is not entirely robust, as you know, but once a DLL is loaded it doesn't need to be on the path to be found. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32516> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com