This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Add support for PEP 646
Type: Stage: patch review
Components: Parser, Library (Lib), Tests Versions: Python 3.11
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: AlexWaygood, JelleZijlstra, cdce8p, gvanrossum, kj, lys.nikolaou, matthew.rahtz, mrahtz, pablogsal, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2021-02-14 17:21 by mrahtz, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 24527 closed matthew.rahtz, 2021-02-14 17:22
PR 30398 closed matthew.rahtz, 2022-01-04 12:16
PR 31018 merged matthew.rahtz, 2022-01-30 12:04
PR 31019 merged matthew.rahtz, 2022-01-30 12:54
PR 31021 merged matthew.rahtz, 2022-01-30 13:39
PR 31800 merged serhiy.storchaka, 2022-03-10 18:54
PR 31804 closed matthew.rahtz, 2022-03-10 22:51
PR 31828 open serhiy.storchaka, 2022-03-11 19:48
PR 31844 closed matthew.rahtz, 2022-03-13 11:50
PR 31845 closed matthew.rahtz, 2022-03-13 13:12
PR 31846 open matthew.rahtz, 2022-03-13 13:29
PR 31954 merged JelleZijlstra, 2022-03-17 04:11
PR 32030 open serhiy.storchaka, 2022-03-21 17:47
PR 32031 open serhiy.storchaka, 2022-03-21 18:08
PR 32119 open matthew.rahtz, 2022-03-25 22:11
PR 32159 merged matthew.rahtz, 2022-03-28 19:10
Messages (9)
msg414715 - (view) Author: Jelle Zijlstra (JelleZijlstra) * (Python committer) Date: 2022-03-08 04:03
New changeset 7a793a388b017be635ea41ef75b0fd8bcf75a309 by Matthew Rahtz in branch 'main':
bpo-43224: Implement PEP 646 changes to typing.py (GH-31021)
https://github.com/python/cpython/commit/7a793a388b017be635ea41ef75b0fd8bcf75a309
msg414935 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2022-03-11 19:44
New changeset 5b1b9eacb92dd47d10793a8868246df6ea477ed6 by Serhiy Storchaka in branch 'main':
bpo-43224: Implement substitution of unpacked TypeVarTuple (GH-31800)
https://github.com/python/cpython/commit/5b1b9eacb92dd47d10793a8868246df6ea477ed6
msg414991 - (view) Author: Ken Jin (kj) * (Python committer) Date: 2022-03-12 12:20
New changeset af2277e461aee4eb96affd06b4af25aad31c81ea by Matthew Rahtz in branch 'main':
bpo-43224: Implement PEP 646 changes to genericaliasobject.c (GH-31019)
https://github.com/python/cpython/commit/af2277e461aee4eb96affd06b4af25aad31c81ea
msg415514 - (view) Author: Jelle Zijlstra (JelleZijlstra) * (Python committer) Date: 2022-03-18 17:56
New changeset 3a2b89580ded72262fbea0f7ad24096a90c42b9c by Jelle Zijlstra in branch 'main':
bpo-43224: Add TypeVarTuple.__name__ (GH-31954)
https://github.com/python/cpython/commit/3a2b89580ded72262fbea0f7ad24096a90c42b9c
msg416020 - (view) Author: Matthew Rahtz (matthew.rahtz) * Date: 2022-03-25 22:16
Since things are piling up, here's a quick record of what I think the remaining tasks are: (in approximate order of priority)
1. Finish writing docs (is updating library/typing.html sufficient? https://github.com/python/cpython/pull/32103)
2. Implement support for pickling of unpacked native tuples
3. Implement support and add tests for copy() of TypeVarTuple and unpacked tuple
4. Resolve the issue of how we implement type substitution (https://bugs.python.org/issue47006)
msg416022 - (view) Author: Jelle Zijlstra (JelleZijlstra) * (Python committer) Date: 2022-03-25 22:34
> 1. Finish writing docs (is updating library/typing.html sufficient? https://github.com/python/cpython/pull/32103)

We also need to add to the What's New for 3.11. I volunteered to do that for all the typing PEPs.

> 2. Implement support for pickling of unpacked native tuples

Linking your GH-32119

> 3. Implement support and add tests for copy() of TypeVarTuple and unpacked tuple

I believe this uses the same mechanism as pickling, so shouldn't need more work.
msg416074 - (view) Author: Jelle Zijlstra (JelleZijlstra) * (Python committer) Date: 2022-03-26 16:55
New changeset e8e737bcf6d22927caebc30c5d57ac4634063219 by Matthew Rahtz in branch 'main':
bpo-43224: Implement PEP 646 grammar changes (GH-31018)
https://github.com/python/cpython/commit/e8e737bcf6d22927caebc30c5d57ac4634063219
msg416689 - (view) Author: Matthew Rahtz (matthew.rahtz) * Date: 2022-04-04 18:09
> 1. Finish writing docs

Done once https://github.com/python/cpython/pull/32103 is merged.

> 2. Implement support for pickling of unpacked native tuples

Done once https://github.com/python/cpython/pull/32159 is merged.

4. Resolve the issue of how we implement type substitution (https://bugs.python.org/issue47006)

Will re-visit this now.
msg416727 - (view) Author: Jelle Zijlstra (JelleZijlstra) * (Python committer) Date: 2022-04-05 02:52
New changeset 772d8080c9fd635c3999673ca9fad8b674385c7f by Matthew Rahtz in branch 'main':
bpo-43224: typing: Add tests for pickling and copying of unpacked native tuple (GH-32159)
https://github.com/python/cpython/commit/772d8080c9fd635c3999673ca9fad8b674385c7f
History
Date User Action Args
2022-04-11 14:59:41adminsetgithub: 87390
2022-04-05 02:52:50JelleZijlstrasetmessages: + msg416727
2022-04-04 18:09:27matthew.rahtzsetmessages: + msg416689
2022-03-28 19:10:36matthew.rahtzsetpull_requests: + pull_request30237
2022-03-26 16:55:55JelleZijlstrasetmessages: + msg416074
2022-03-25 22:34:24JelleZijlstrasetmessages: + msg416022
2022-03-25 22:16:13matthew.rahtzsetmessages: + msg416020
2022-03-25 22:11:19matthew.rahtzsetpull_requests: + pull_request30197
2022-03-21 18:08:32serhiy.storchakasetpull_requests: + pull_request30120
2022-03-21 17:47:47serhiy.storchakasetpull_requests: + pull_request30119
2022-03-18 17:56:48JelleZijlstrasetmessages: + msg415514
2022-03-17 04:11:05JelleZijlstrasetpull_requests: + pull_request30045
2022-03-13 13:29:11matthew.rahtzsetpull_requests: + pull_request29945
2022-03-13 13:12:39matthew.rahtzsetpull_requests: + pull_request29944
2022-03-13 11:50:49matthew.rahtzsetpull_requests: + pull_request29943
2022-03-12 12:20:16kjsetmessages: + msg414991
2022-03-11 19:48:11serhiy.storchakasetpull_requests: + pull_request29925
2022-03-11 19:44:15serhiy.storchakasetmessages: + msg414935
2022-03-10 22:51:09matthew.rahtzsetpull_requests: + pull_request29905
2022-03-10 19:07:42AlexWaygoodsetnosy: + AlexWaygood
2022-03-10 18:54:38serhiy.storchakasetnosy: + serhiy.storchaka
pull_requests: + pull_request29901
2022-03-08 04:03:36JelleZijlstrasetmessages: + msg414715
2022-02-01 11:57:48cdce8psetnosy: + cdce8p
2022-01-30 18:21:25JelleZijlstrasetnosy: + JelleZijlstra
2022-01-30 13:39:09matthew.rahtzsetpull_requests: + pull_request29202
2022-01-30 12:54:22matthew.rahtzsetpull_requests: + pull_request29200
2022-01-30 12:04:30matthew.rahtzsetpull_requests: + pull_request29199
2022-01-04 14:31:02AlexWaygoodsetnosy: + gvanrossum, kj
2022-01-04 12:16:28matthew.rahtzsetpull_requests: + pull_request28607
2022-01-04 11:39:53matthew.rahtzsetnosy: + pablogsal, lys.nikolaou
versions: + Python 3.11, - Python 3.10

components: + Tests, Parser
title: Add support for PEP 646 (Variadic Generics) to typing.py -> Add support for PEP 646
2021-02-14 17:22:42matthew.rahtzsetkeywords: + patch
nosy: + matthew.rahtz

pull_requests: + pull_request23313
stage: patch review
2021-02-14 17:21:47mrahtzcreate