[issue34592] cdll.LoadLibrary allows None as an argument
Gregory P. Smith
report at bugs.python.org
Thu Nov 18 23:06:58 EST 2021
Gregory P. Smith <greg at krypto.org> added the comment:
We do need to document this in ctypes.rst. Quite a bit of code depends on ctypes.CDLL(None) and similar to get at symbols linked into the interpreter or already dlopened into the process these days. It works on Linux; I'm assuming it likely does on everything POSIXy.
----------
assignee: -> docs at python
components: +Documentation
nosy: +docs at python, gregory.p.smith
stage: resolved -> needs patch
status: closed -> open
versions: +Python 3.11 -Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34592>
_______________________________________
More information about the Python-bugs-list
mailing list