[New-bugs-announce] [issue42520] add_dll_directory only accepts absolute paths

Antony Lee report at bugs.python.org
Tue Dec 1 05:03:32 EST 2020


New submission from Antony Lee <anntzer.lee at gmail.com>:

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.

----------
assignee: docs at python
components: Documentation
messages: 382228
nosy: Antony.Lee, docs at python
priority: normal
severity: normal
status: open
title: add_dll_directory only accepts absolute paths
versions: Python 3.9

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


More information about the New-bugs-announce mailing list