1
0
Fork 0

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
commit d784464399
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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: