[Python-checkins] cpython (2.7): Issue #26439: Document that RTLD_NOW is always added

martin.panter python-checkins at python.org
Tue Sep 27 01:37:56 EDT 2016


https://hg.python.org/cpython/rev/01885f78b299
changeset:   104093:01885f78b299
branch:      2.7
parent:      104090:1aae9b7ff321
user:        Martin Panter <vadmium+py at gmail.com>
date:        Tue Sep 27 05:10:40 2016 +0000
summary:
  Issue #26439: Document that RTLD_NOW is always added

files:
  Doc/library/ctypes.rst |  5 +++--
  1 files changed, 3 insertions(+), 2 deletions(-)


diff --git a/Doc/library/ctypes.rst b/Doc/library/ctypes.rst
--- a/Doc/library/ctypes.rst
+++ b/Doc/library/ctypes.rst
@@ -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.

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list