SIGN IN SIGN UP

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>
M
Matt Bogosian committed
32bf3597922ac3f613989582afa2bff43bea8a2f
Parent: 9b51fd5
Committed by GitHub <noreply@github.com> on 3/10/2022, 2:42:15 PM