From: Martin Panter Date: Tue, 27 Sep 2016 05:10:40 +0000 (+0000) Subject: Issue #26439: Document that RTLD_NOW is always added X-Git-Tag: v2.7.13rc1~110 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de2d4d20486e9b4a6145e1b4e202ef47ae840c42;p=python Issue #26439: Document that RTLD_NOW is always added --- diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst index e30b0069a8..368c7856be 100644 --- a/Doc/library/ctypes.rst +++ b/Doc/library/ctypes.rst @@ -1400,8 +1400,9 @@ function is used to load the library into the process, and to get a handle to 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.