You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Builds Without HAVE_DYNAMIC_LOADING Set Still Expose Features and API Related to Dynamic Modules #122950
When CPython is built without HAVE_DYNAMIC_LOADING set, we currently leave out a small handful of code in Python/import.c and Python/importdl.c. However, there is a bunch more that should probably be excluded (via #ifdef HAVE_DYNAMIC_LOADING):
some functions and constants in Python/importdl.c and Include/internal/pycore_importdl.h
some functions, constants, and state in Python/import.c and Include/internal/pycore_import.h
some code in Lib/importlib/_bootstrap_external.py
maybe some code in Objects/moduleobject.c
builds for Modules/Setup.stdlib
checks in Tools/build/check_extension_modules.py
modules listed by Tools/build/generate_stdlib_module_names.py
AFAIK all the platforms that CPython works on support dynamic loading, I would prefer to remove this config altogether and always require dynamic loading.
Activity
kumaraditya303 commentedon Aug 12, 2024
AFAIK all the platforms that CPython works on support dynamic loading, I would prefer to remove this config altogether and always require dynamic loading.
ericsnowcurrently commentedon Aug 12, 2024
I'm not opposed. 😄
python313 py313-html-docs: updated to 3.13.1
hoodmane commentedon Jan 11, 2025
Wasi doesn't support dynamic linking cc @brettcannon
python313 py313-html-docs: updated to 3.13.1
python313 py313-html-docs: updated to 3.13.1
python313 py313-html-docs: updated to 3.13.1