File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1581,6 +1581,16 @@ could be used by the filter mechanism or by static analysis tools. The current
15811581filter API is designed to accommodate such future additions without requiring
15821582changes to the core language specification.
15831583
1584+ C API for lazy imports
1585+ -----------------------
1586+
1587+ No dedicated C API is planned for creating or resolving lazy imports. This
1588+ feature is designed as a purely Python-facing mechanism, as C extensions
1589+ typically need immediate access to modules and cannot benefit from deferred
1590+ loading. Existing C API functions like ``PyImport_ImportModule() `` remain
1591+ unchanged and continue to perform eager imports. If compelling use cases emerge,
1592+ this could be revisited in future versions.
1593+
15841594Alternate Implementation Ideas
15851595==============================
15861596
You can’t perform that action at this time.
0 commit comments