Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions Lib/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"""

from abc import abstractmethod, ABCMeta
import atexit
import collections
from collections import defaultdict
import collections.abc
Expand Down Expand Up @@ -398,11 +397,6 @@ def _clear_caches():
cleanup()


# Release the LRU caches at shutdown, they otherwise redistribute reference
# leaks of one extension to types of unrelated ones. See GH-151728.
atexit.register(_clear_caches)


def _tp_cache(func=None, /, *, typed=False):
"""Internal wrapper caching __getitem__ of generic types.

Expand Down

This file was deleted.

Loading