On this page
sys.getdlopenflags
Prev: sys.getdefaultencoding | Up: sys | Next: sys.getfilesystemencodeerrors
Rel: sys.activate_stack_trampoline, sys.addaudithook, sys.audit, sys.breakpointhook
Ref: docs.python.org — sys.getdlopenflags
Tags: #public #python3 #stdlib #sys
Import
import sys
from sys import getdlopenflags
Signature & Overview
sys.getdlopenflags()
Return the current value of the flags that are used for dlopen calls.
Usage
import sys
if hasattr(sys, "getdlopenflags"):
flags = sys.getdlopenflags()
assert isinstance(flags, int)
Gotchas
- Unix-only: Inspects flags passed to C
dlopen()when loading.soextension modules.
REPL Inspect
from sys import getdlopenflags
help(getdlopenflags)
Linked from
Related notes
- tuts/python3/stdlib_module/sys/getdefaultencoding Linked here; links to this page; shared tags: #stdlib, #sys
- tuts/python3/stdlib_module/sys/getfilesystemencodeerrors Linked here; links to this page; shared tags: #stdlib, #sys
- tuts/python3/stdlib_module/sys Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/sys/activate_stack_trampoline Linked here; shared tags: #stdlib, #sys
- tuts/python3/stdlib_module/sys/addaudithook Linked here; shared tags: #stdlib, #sys
- tuts/python3/stdlib_module/sys/audit Linked here; shared tags: #stdlib, #sys
- tuts/python3/stdlib_module/sys/breakpointhook Linked here; shared tags: #stdlib, #sys
- tuts/python3/stdlib_module/sys/call_tracing shared tags: #stdlib, #sys
- tuts/python3/stdlib_module/sys/deactivate_stack_trampoline shared tags: #stdlib, #sys
- tuts/python3/stdlib_module/sys/displayhook shared tags: #stdlib, #sys