summaryrefslogtreecommitdiffstats
path: root/Lib/os.py
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2024-09-29 13:31:06 (GMT)
committerGitHub <noreply@github.com>2024-09-29 13:31:06 (GMT)
commit95581b35517f547b44e42631bd97ab4ba1a5c343 (patch)
tree3e1eefcce1f6ce9847aee81cd1e914e29e1011ea /Lib/os.py
parent76fbee642e78eacf3866102f31e0ac969b57f1e6 (diff)
downloadcpython-95581b35517f547b44e42631bd97ab4ba1a5c343.zip
cpython-95581b35517f547b44e42631bd97ab4ba1a5c343.tar.gz
cpython-95581b35517f547b44e42631bd97ab4ba1a5c343.tar.bz2
functools: Give up on lazy-importing types (#124736)
PR #121089 added an eager import for types.MethodType, but still left the existing hacks for lazily importing from types. We could also create MethodType internally in functools.py (e.g., by using `type(Placeholder.__repr__)`, but it feels not worth it at this point, so instead I unlazified all the usages of types in the module.
Diffstat (limited to 'Lib/os.py')
0 files changed, 0 insertions, 0 deletions