changeset: 104093:01885f78b299 branch: 2.7 parent: 104090:1aae9b7ff321 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 1aae9b7ff321 -r 01885f78b299 Doc/library/ctypes.rst --- a/Doc/library/ctypes.rst Tue Sep 27 00:27:15 2016 +0300 +++ b/Doc/library/ctypes.rst Tue Sep 27 05:10:40 2016 +0000 @@ -1400,8 +1400,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.