We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db5c0c0 commit 9023129Copy full SHA for 9023129
CHANGELOG.md
@@ -1,5 +1,10 @@
1
# Unreleased
2
3
+- Backport CPython PR [#137281](https://github.com/python/cpython/pull/137281),
4
+ fixing how type parameters are collected when a `Protocol` base class is parametrized
5
+ with type variables. Now, parametrized `Generic` or `Protocol` base classes always
6
+ dictate the number and the order of the type parameters. Patch by Brian Schubert,
7
+ backporting a CPython PR by Nikita Sobolev.
8
- Raise `TypeError` when attempting to subclass `typing_extensions.ParamSpec` on
9
Python 3.9. The `typing` implementation has always raised an error, and the
10
`typing_extensions` implementation has raised an error on Python 3.10+ since
0 commit comments