classification
Title: add_dll_directory only accepts absolute paths
Type: Stage:
Components: Documentation Versions: Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Antony.Lee, docs@python
Priority: normal Keywords:

Created on 2020-12-01 10:03 by Antony.Lee, last changed 2020-12-01 10:03 by Antony.Lee.

Messages (1)
msg382228 - (view) Author: Antony Lee (Antony.Lee) * Date: 2020-12-01 10:03
os.add_dll_directory appears to only accept absolute paths, inheriting this restriction from AddDllDirectory.  That's absolutely fine, but could perhaps be mentioned in the docs (https://docs.python.org/3/library/os.html#os.add_dll_directory), especially considering that the docs do mention the parallel with `sys.path`, which *does* support relative paths.
History
Date User Action Args
2020-12-01 10:03:32Antony.Leecreate