diff options
author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | 2024-05-10 16:55:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-10 16:55:49 (GMT) |
commit | ec9d12be9648ee60a2eb02d67069d74f8b314df9 (patch) | |
tree | 7caaf3cc493ede55fd1388f11b7a6fb068c3be6c /Objects/frameobject.c | |
parent | f5c6b9977a561fcf9c2a803fb08652fd39b13d3b (diff) | |
download | cpython-ec9d12be9648ee60a2eb02d67069d74f8b314df9.zip cpython-ec9d12be9648ee60a2eb02d67069d74f8b314df9.tar.gz cpython-ec9d12be9648ee60a2eb02d67069d74f8b314df9.tar.bz2 |
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 'Objects/frameobject.c')
0 files changed, 0 insertions, 0 deletions