- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
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.
Created on 2020-05-29 12:28 by Matúš Valo, last changed 2022-04-11 14:59 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 22615 | kj, 2020-10-10 04:18 |
| Messages (7) | ||
|---|---|---|
| msg370306 - (view) | Author: Matúš Valo (Matúš Valo) * | Date: 2020-05-29 12:28 |
In documentation of typing module there is no mention of new possibilities based on PEP 585. Moreover, should be old constructs like List, Dict,... marked as deprecated? |
||
| msg372008 - (view) | Author: Guido van Rossum (gvanrossum) * ![]() |
Date: 2020-06-21 17:41 |
I don't think we should deprecate List etc. (PEP 585 specifically punts on the topic) but it's good to start mentioning list[t] etc. in the docs. Do you want to volunteer to write some docs? |
||
| msg374288 - (view) | Author: Guido van Rossum (gvanrossum) * ![]() |
Date: 2020-07-25 21:58 |
Alternatively, we at least need a section of documentation for things like `list[int]` and `dict[str, float]`. |
||
| msg378362 - (view) | Author: Ken Jin (kj) * ![]() |
Date: 2020-10-10 04:18 |
I've created a PR 22615 which partly addresses the documentation for GenericAlias in stdtypes. I have a side question: should __args__, and __origin__ be documented somewhere as well? I noticed it has no documentation even though it's used to check generics. At the same time, I'm not fully sure that it's a standard Python thing rather than a CPython implementation detail. |
||
| msg378367 - (view) | Author: Guido van Rossum (gvanrossum) * ![]() |
Date: 2020-10-10 06:36 |
Yes, let’s document __args__ and __origin__. |
||
| msg378921 - (view) | Author: Ken Jin (kj) * ![]() |
Date: 2020-10-19 04:10 |
The PR should be ready for review now. Thanks for your patience. |
||
| msg380079 - (view) | Author: Ken Jin (kj) * ![]() |
Date: 2020-10-31 16:59 |
IMO, this can now be closed. Most code examples in typing were changed to builtin generics: https://github.com/python/cpython/commit/d9ab95ff1fe81efdf70e545d536d9f6927d1ba81 https://github.com/python/cpython/commit/7f54e563dc150cd670ca8df678437455c3a7f2cd Docs for PEP 585's GenericAlias was added: https://github.com/python/cpython/commit/4173320920706b49a004bdddd8d7108e8984e3fc Dict, List, and friends were also all marked as deprecated in 3.9. |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:31 | admin | set | github: 84991 |
| 2020-10-31 17:37:43 | gvanrossum | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2020-10-31 16:59:23 | kj | set | messages: + msg380079 |
| 2020-10-19 04:10:31 | kj | set | messages: + msg378921 |
| 2020-10-10 06:36:04 | gvanrossum | set | messages: + msg378367 |
| 2020-10-10 04:18:09 | kj | set | nosy:
+ kj messages: + msg378362 pull_requests: + pull_request21605 keywords: + patch stage: patch review |
| 2020-07-25 21:58:08 | gvanrossum | set | messages: + msg374288 |
| 2020-06-21 17:41:31 | gvanrossum | set | messages: + msg372008 |
| 2020-05-29 15:05:44 | DahlitzFlorian | set | nosy:
+ DahlitzFlorian |
| 2020-05-29 12:28:33 | Matúš Valo | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements

