We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 492d940 commit a84d1e0Copy full SHA for a84d1e0
dynamic_library/_hook.py
@@ -15,4 +15,5 @@
15
warnings.warn('Libraries registered via dynamic_library entrypoints will not be loaded!', RuntimeWarning)
16
else:
17
for lib in dynamic_library.get_libraries():
18
+ lib = os.fspath(lib) # Needed by Python <=3.11 on Windows
19
ctypes.CDLL(lib, ctypes.RTLD_LOCAL)
0 commit comments