summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next
diff options
context:
space:
mode:
authorMatt Bogosian <matt@bogosian.net>2022-03-10 14:42:15 (GMT)
committerGitHub <noreply@github.com>2022-03-10 14:42:15 (GMT)
commit32bf3597922ac3f613989582afa2bff43bea8a2f (patch)
tree021eab024d0936c9e682af8adebdf1123d83f0e1 /Misc/NEWS.d/next
parent9b51fd5d137b662c940f072297b30815f37f105b (diff)
downloadcpython-32bf3597922ac3f613989582afa2bff43bea8a2f.zip
cpython-32bf3597922ac3f613989582afa2bff43bea8a2f.tar.gz
cpython-32bf3597922ac3f613989582afa2bff43bea8a2f.tar.bz2
bpo-46581: Propagate private vars via _GenericAlias.copy_with (GH-31061)
GH-26091 added the _typevar_types and _paramspec_tvars instance variables to _GenericAlias. However, they were not propagated consistently. This commit addresses the most prominent deficiency identified in bpo-46581 (namely their absence from _GenericAlias.copy_with), but there could be others. Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r--Misc/NEWS.d/next/Library/2022-02-01-11-32-47.bpo-46581.t7Zw65.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-02-01-11-32-47.bpo-46581.t7Zw65.rst b/Misc/NEWS.d/next/Library/2022-02-01-11-32-47.bpo-46581.t7Zw65.rst
new file mode 100644
index 0000000..1982c1d
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-02-01-11-32-47.bpo-46581.t7Zw65.rst
@@ -0,0 +1,2 @@
+Brings :class:`ParamSpec` propagation for :class:`GenericAlias` in line with
+:class:`Concatenate` (and others).