aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2024-05-10 09:55:49 -0700
committerGitHub <noreply@github.com>2024-05-10 16:55:49 +0000
commitec9d12be9648ee60a2eb02d67069d74f8b314df9 (patch)
tree7caaf3cc493ede55fd1388f11b7a6fb068c3be6c /Python
parentf5c6b9977a561fcf9c2a803fb08652fd39b13d3b (diff)
downloadcpython-ec9d12be9648ee60a2eb02d67069d74f8b314df9.tar.gz
cpython-ec9d12be9648ee60a2eb02d67069d74f8b314df9.zip
Rename typing._collect_parameters (#118900)
Unfortunately, released versions of typing_extensions monkeypatch this function without the extra parameter, which makes it so things break badly if current main is used with typing_extensions. Fortunately, the monkeypatching is not needed on Python 3.13, because CPython now implements PEP 696. By renaming the function, we prevent the monkeypatch from breaking typing.py internals. We keep the old name (raising a DeprecationWarning) to help other external users who call it.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions