Commit 2e9fe1b
committed
fixup! feat(core.utils): derive __all__ from _LAZY_CACHE_ATTRS; document star-import caveat
Defines the ordered lazy-export tuple once and splices it into __all__ so
the two lists cannot drift. Notes that star-import still eagerly resolves
every lazy attribute (walking __all__ pulls _program_cache in), which is
expected given star-imports are already discouraged.1 parent e98f580 commit 2e9fe1b
1 file changed
Lines changed: 13 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
11 | 18 | | |
12 | 19 | | |
13 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
14 | 25 | | |
15 | 26 | | |
16 | | - | |
| 27 | + | |
17 | 28 | | |
18 | 29 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
0 commit comments