changeset: 104094:0db4403e62c4 branch: 3.5 parent: 104087:c739660489c1 user: Martin Panter date: Tue Sep 27 05:10:40 2016 +0000 files: Doc/library/ctypes.rst description: Issue #26439: Document that RTLD_NOW is always added diff -r c739660489c1 -r 0db4403e62c4 Doc/library/ctypes.rst --- a/Doc/library/ctypes.rst Tue Sep 27 00:10:03 2016 +0300 +++ b/Doc/library/ctypes.rst Tue Sep 27 05:10:40 2016 +0000 @@ -1354,8 +1354,9 @@ 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.