summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2022-01-27 12:34:55 (GMT)
committerGitHub <noreply@github.com>2022-01-27 12:34:55 (GMT)
commitecfacc362dd7fef7715dcd94f2e2ca6c622ef115 (patch)
tree3a907fea5ce2b03d03e7c6619e0cf12c4785d2cc /Misc/NEWS.d
parent82bce54614f8116a40454fbbbf96a3fd460ca7df (diff)
downloadcpython-ecfacc362dd7fef7715dcd94f2e2ca6c622ef115.zip
cpython-ecfacc362dd7fef7715dcd94f2e2ca6c622ef115.tar.gz
cpython-ecfacc362dd7fef7715dcd94f2e2ca6c622ef115.tar.bz2
bpo-44791: Fix substitution of ParamSpec in Concatenate with different parameter expressions (GH-27518)
* Substitution with a list of types returns now a tuple of types. * Substitution with Concatenate returns now a Concatenate with concatenated lists of arguments. * Substitution with Ellipsis is not supported.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2021-07-31-23-18-50.bpo-44791.4jFdpO.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-07-31-23-18-50.bpo-44791.4jFdpO.rst b/Misc/NEWS.d/next/Library/2021-07-31-23-18-50.bpo-44791.4jFdpO.rst
new file mode 100644
index 0000000..8182aa4
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2021-07-31-23-18-50.bpo-44791.4jFdpO.rst
@@ -0,0 +1,5 @@
+Fix substitution of :class:`~typing.ParamSpec` in
+:data:`~typing.Concatenate` with different parameter expressions.
+Substitution with a list of types returns now a tuple of types. Substitution
+with ``Concatenate`` returns now a ``Concatenate`` with concatenated lists
+of arguments.