]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-93345: Fix a crash in substitution of nested TypeVar after TypeVarTuple (GH-93346)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 1 Jun 2022 06:43:38 +0000 (23:43 -0700)
committerGitHub <noreply@github.com>
Wed, 1 Jun 2022 06:43:38 +0000 (23:43 -0700)
commit3265ff9ccc870a25dd970a05a778a91cf86ee00a
treef9e577c12cf342e67f67758bbf443edebc08cff2
parent00f8fe956491816f03f1cc76bc7ed297cd9c0930
gh-93345: Fix a crash in substitution of nested TypeVar after TypeVarTuple (GH-93346)

For example: tuple[*Ts, list[T]][int, str, bool]
(cherry picked from commit f545fc955aeb701ae4e73b07ff2283f823d857b8)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_typing.py
Misc/NEWS.d/next/Core and Builtins/2022-05-30-10-22-46.gh-issue-93345.gi1A4L.rst [new file with mode: 0644]
Objects/genericaliasobject.c