Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f18a5da

Browse files
committed
Issue #26439: Document that RTLD_NOW is always added
1 parent 407ac47 commit f18a5da

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Doc/library/ctypes.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1354,8 +1354,9 @@ function is used to load the library into the process, and to get a handle to
13541354
it.
13551355

13561356
The *mode* parameter can be used to specify how the library is loaded. For
1357-
details, consult the :manpage:`dlopen(3)` manpage, on Windows, *mode* is
1358-
ignored.
1357+
details, consult the :manpage:`dlopen(3)` manpage. On Windows, *mode* is
1358+
ignored. On posix systems, RTLD_NOW is always added, and is not
1359+
configurable.
13591360

13601361
The *use_errno* parameter, when set to True, enables a ctypes mechanism that
13611362
allows accessing the system :data:`errno` error number in a safe way.

0 commit comments

Comments
 (0)