You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
types.GenericAlias and types.Union have no documentation #85971
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2020-10-28.15:59:14.723>created_at=<Date2020-09-17.19:28:27.986>labels= ['3.9', '3.10', 'docs']
title='types.GenericAlias and types.Union have no documentation'updated_at=<Date2020-10-28.16:13:11.948>user='https://github.com/pxeger'
Hi, Patrick! Yes! It would be great if you could open a PR to document those new types.
The documentation of types.Union should go to master only, and the documentation of types.GenericAlias to both master and 3.9, so two PRs should me opened to address this issues separately.
@guido, you're welcome! I'm thinking of updating the temporary hyperlinks for GenericAlias/PEP 585 in Union, subscriptions and typing, I'll submit 2 separate PRs since subscription and typing require backporting.
If I think of anything major, I'll open a separate bpo to keep track of it there. Thanks.
Cool. Please add me to the nosy list of any issues you open.
Also, if you're interesting helping out with the match statement, once the SC approves it, we'll need to add docs for that. See bpo-42128 for a possible plan.
Activity
pxeger commentedon Sep 17, 2020
See title.
For reference:
GenericAliaswas added by Guido van Rossum guido@python.org in commit 48b069a "bpo-39481: Implementation for PEP-585 (bpo-18239)"Unionwas added by Maggi Moss MaggieMoss@users.noreply.github.com in commit 1b4552c "bpo-41428: Implementation for PEP-604 (GH-21515)"I can do a PR which would need backporting (is that the right word?) to 3.9 at least for
GenericAlias.andresdelfino commentedon Sep 17, 2020
Hi, Patrick! Yes! It would be great if you could open a PR to document those new types.
The documentation of types.Union should go to master only, and the documentation of types.GenericAlias to both master and 3.9, so two PRs should me opened to address this issues separately.
The backporting (yes! that's the word) to 3.9 will be (fingers-crossed) automatic thanks to Mariatta's https://github.com/python/miss-islington
Fidget-Spinner commentedon Oct 5, 2020
Hi Patrick, I've completed the docs for PEP-604, and would like to work on the docs for PEP-585. May I know if you're still working on this?
pxeger commentedon Oct 8, 2020
Sorry, I'd completely forgotten about doing a PR for this. Go ahead!
gvanrossum commentedon Oct 27, 2020
New changeset 4173320 by kj in branch 'master':
bpo-41805: Documentation for PEP-585 (GH-22615)
4173320
miss-islington commentedon Oct 28, 2020
New changeset 577d7c4 by kj in branch '3.9':
[3.9] bpo-41805: Documentation for PEP-585 (GH-22615) (GH-23016)
577d7c4
gvanrossum commentedon Oct 28, 2020
Thanks Ken Ji! Are you planning more doc patches?
Fidget-Spinner commentedon Oct 28, 2020
@guido, you're welcome! I'm thinking of updating the temporary hyperlinks for GenericAlias/PEP 585 in Union, subscriptions and typing, I'll submit 2 separate PRs since subscription and typing require backporting.
If I think of anything major, I'll open a separate bpo to keep track of it there. Thanks.
gvanrossum commentedon Oct 28, 2020
Cool. Please add me to the nosy list of any issues you open.
Also, if you're interesting helping out with the match statement, once the SC approves it, we'll need to add docs for that. See bpo-42128 for a possible plan.