This issue tracker will soon become read-only and move to GitHub.
For a smoother transition, remember to log in and link your GitHub username to your profile.
For more information, see this post about the migration.

classification
Title: Improve documentation for typing._GenericAlias
Type: enhancement Stage: patch review
Components: Documentation, Library (Lib) Versions: Python 3.11
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: JelleZijlstra, docs@python, gvanrossum, kj, matthew.rahtz
Priority: normal Keywords: patch

Created on 2022-01-30 19:55 by matthew.rahtz, last changed 2022-02-07 01:59 by gvanrossum.

Pull Requests
URL Status Linked Edit
PR 31026 merged matthew.rahtz, 2022-01-30 19:55
Messages (2)
msg412171 - (view) Author: Matthew Rahtz (matthew.rahtz) * Date: 2022-01-30 19:55
There's currently not much documentation in `typing.py` for `_GenericAlias`. Some fairly weird things go on in there, so it would be great to have more info in the class about what's going on and why various edge cases are necessary.
msg412703 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2022-02-07 01:59
New changeset a335d98f19b7fa66159d12932cc9a05eb2d8395f by Matthew Rahtz in branch 'main':
bpo-46589: Improve documentation for typing._GenericAlias (GH-31026)
https://github.com/python/cpython/commit/a335d98f19b7fa66159d12932cc9a05eb2d8395f
History
Date User Action Args
2022-02-07 01:59:39gvanrossumsetmessages: + msg412703
2022-01-30 21:35:05AlexWaygoodsetnosy: + docs@python, kj, gvanrossum, JelleZijlstra
assignee: docs@python
components: + Documentation
keywords: + patch
stage: patch review
2022-01-30 19:55:28matthew.rahtzcreate