[issue40814] Update typing module documentation based on PEP 585

2020-10-31 Thread Guido van Rossum
Change by Guido van Rossum : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40814] Update typing module documentation based on PEP 585

2020-10-31 Thread Ken Jin
Ken Jin added the comment: 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

[issue40814] Update typing module documentation based on PEP 585

2020-10-18 Thread Ken Jin
Ken Jin added the comment: The PR should be ready for review now. Thanks for your patience. -- ___ Python tracker ___ ___

[issue40814] Update typing module documentation based on PEP 585

2020-10-10 Thread Guido van Rossum
Guido van Rossum added the comment: Yes, let’s document __args__ and __origin__. -- ___ Python tracker ___ ___ Python-bugs-list

[issue40814] Update typing module documentation based on PEP 585

2020-10-09 Thread Ken Jin
Ken Jin added the comment: 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

[issue40814] Update typing module documentation based on PEP 585

2020-07-25 Thread Guido van Rossum
Guido van Rossum added the comment: Alternatively, we at least need a section of documentation for things like `list[int]` and `dict[str, float]`. -- ___ Python tracker ___

[issue40814] Update typing module documentation based on PEP 585

2020-06-21 Thread Guido van Rossum
Guido van Rossum added the comment: 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? -- ___ Python

[issue40814] Update typing module documentation based on PEP 585

2020-05-29 Thread Florian Dahlitz
Change by Florian Dahlitz : -- nosy: +DahlitzFlorian ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40814] Update typing module documentation based on PEP 585

2020-05-29 Thread Matúš Valo
New submission from Matúš Valo : 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? -- assignee: docs@python components: Documentation messages: 370306 nosy: Matúš