cpython: 0db4403e62c4 (original) (raw)

Mercurial > cpython

changeset 104094:0db4403e62c4 3.5

Issue #26439: Document that RTLD_NOW is always added [#26439]

Martin Panter vadmium+py@gmail.com
date Tue, 27 Sep 2016 05:10:40 +0000
parents c739660489c1
children 4b7e51998a90 b4c0e733b342
files Doc/library/ctypes.rst
diffstat 1 files changed, 3 insertions(+), 2 deletions(-)[+] [-] Doc/library/ctypes.rst 5

line wrap: on

line diff

--- a/Doc/library/ctypes.rst +++ b/Doc/library/ctypes.rst @@ -1354,8 +1354,9 @@ function is used to load the library int it. The mode parameter can be used to specify how the library is loaded. For -details, consult the :manpage:dlopen(3) manpage, on Windows, mode is -ignored. +details, consult the :manpage:dlopen(3) manpage. On Windows, mode is +ignored. On posix systems, RTLD_NOW is always added, and is not +configurable. The use_errno parameter, when set to True, enables a ctypes mechanism that allows accessing the system :data:errno error number in a safe way.