Here’s the relevant source: https://github.com/python/cpython/blob/8dd2766d99f8f51ad62dc...
I believe you should just be able to replace the library name with an absolute path to the library, and remove the need for the lookup at all?
I believe you should just be able to replace the library name with an absolute path to the library, and remove the need for the lookup at all?
If this were a production issue, I would probably fork the driver and do what you're suggesting (it's not like it's actively maintained or something :|).
Then the fix is a single if statement. Seems worth it to me.