]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43224: Implement PEP 646 changes to genericaliasobject.c (GH-31019)
authorMatthew Rahtz <matthew.rahtz@gmail.com>
Sat, 12 Mar 2022 12:20:12 +0000 (12:20 +0000)
committerGitHub <noreply@github.com>
Sat, 12 Mar 2022 12:20:12 +0000 (20:20 +0800)
commitaf2277e461aee4eb96affd06b4af25aad31c81ea
tree236c10cc5d6a6f577373a95ecc53023752d21283
parent75174371e6cac935b598a68c1113f6db1e0d6ed8
bpo-43224: Implement PEP 646 changes to genericaliasobject.c (GH-31019)

Specifically, prepare for starring of tuples via a new genericalias iter type. GenericAlias also partially supports the iterator protocol after this change.

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Lib/test/test_genericalias.py
Misc/NEWS.d/next/Library/2022-01-30-20-32-40.bpo-43224.zqrQsj.rst [new file with mode: 0644]
Objects/genericaliasobject.c