File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -68,8 +68,10 @@ in `SPEC 1 <https://scientific-python.org/specs/spec-0001/>`_. There's also the
6868third-party `lazy_loader <https://pypi.org/project/lazy-loader/ >`_ package.
6969Imports used solely for static type checking are another source of potentially unneeded
7070imports, and there are similarly disparate approaches to minimizing the overhead.
71- All use cases are not covered by these approaches; however, these approaches add runtime overhead in unexpected places,
72- in non-obvious ways, and without a clear standard.
71+ The various approaches used here to defer or remove eager imports do not cover
72+ all potential use-cases for a general lazy import mechanism. There is no clear standard,
73+ and there are several drawbacks including runtime overhead in unexpected places,
74+ or worse runtime introspection.
7375
7476This proposal introduces **lazy imports syntax ** with a design that is local, explicit,
7577controlled, and granular. Each of these qualities is essential to making the feature
You can’t perform that action at this time.
0 commit comments