-
-
Notifications
You must be signed in to change notification settings - Fork 767
Python 3.8: add NVDA source directory when attempting to import liblouis DLL #10416
Copy link
Copy link
Closed
Closed
Copy link
Labels
Python 3.8Issues or ideas that can be resolved or derive solutions via Python 3.8.Issues or ideas that can be resolved or derive solutions via Python 3.8.
Milestone
Description
Hi,
A variation for #10385
Is your feature request related to a problem? Please describe.
Python 3.8 adds os.add_dll_directory function that takes path string. This is done for security reasons, as Python's DLL path lookup routine has changed. This affects all sorts of DLL's, including NVDA Helper (see #10385) and for this one, liblouis.dll.
Describe the solution you'd like
Use os.add_dll_directory function right before importing liblouis.dll in lous helper module.
Describe alternatives you've considered
Leave it as is, although it breaks Python 3.8 compatibility.
Additional context
See #10384 for details.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Python 3.8Issues or ideas that can be resolved or derive solutions via Python 3.8.Issues or ideas that can be resolved or derive solutions via Python 3.8.