classification
Title: Update typing module documentation based on PEP 585
Type: behavior Stage:
Components: Documentation Versions: Python 3.10, Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: DahlitzFlorian, Matúš Valo, docs@python, gvanrossum, levkivskyi
Priority: normal Keywords:

Created on 2020-05-29 12:28 by Matúš Valo, last changed 2020-07-25 21:58 by gvanrossum.

Messages (3)
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) * (Python committer) 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) * (Python committer) Date: 2020-07-25 21:58
Alternatively, we at least need a section of documentation for things like `list[int]` and `dict[str, float]`.
History
Date User Action Args
2020-07-25 21:58:08gvanrossumsetmessages: + msg374288
2020-06-21 17:41:31gvanrossumsetmessages: + msg372008
2020-05-29 15:05:44DahlitzFloriansetnosy: + DahlitzFlorian
2020-05-29 12:28:33Matúš Valocreate