PyDocs

Nav

Python Runtime Services

setdlopenflags

sys

functionUnix
  • setdlopenflags(n)
Set the flags used by the interpreter for dlopen calls.

This is used, for example, when the interpreter loads extension
modules. Among other things, this will enable a lazy resolving of
symbols when importing a module, if called as sys.setdlopenflags(0).
To share symbols across extension modules, call as
sys.setdlopenflags(os.RTLD_GLOBAL).  Symbolic names for the flag
modules can be found in the os module (RTLD_xxx constants, e.g.
os.RTLD_LAZY).
0 Examples
No examples for sys/setdlopenflags.
See Also
No see-alsos for sys/setdlopenflags
0 Notes
No notes for setdlopenflags