[issue7760] [doc] ctypes: use_errno=True does not work

Eryk Sun report at bugs.python.org
Tue May 18 16:36:39 EDT 2021


Eryk Sun <eryksun at gmail.com> added the comment:

> The recommendation not to use absolute paths in CDLL is still 
> not mentioned in the docs:

It's not generally the case. Load just a base filename only if the shared library is in the loader's search path. Otherwise use a qualified path that contains at least one path separator (e.g. "./library.dll").

----------
nosy: +eryksun

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue7760>
_______________________________________


More information about the Python-bugs-list mailing list