Remove Python 3.8 support (#11321)

Closes #10086
Authored by: bashonly
This commit is contained in:
bashonly
2024-10-23 06:33:50 +00:00
committed by GitHub
parent dd2e244469
commit d784464399
14 changed files with 120 additions and 75 deletions

View File

@@ -57,7 +57,7 @@ def passthrough_module(parent, child, allowed_attributes=(..., ), *, callback=la
callback(attr)
return ret
@functools.lru_cache(maxsize=None)
@functools.cache
def from_child(attr):
nonlocal child
if attr not in allowed_attributes: