classification
Title: typing docs: Mention PEP 604 syntax more prominently
Type: Stage: resolved
Components: Documentation Versions: Python 3.11, Python 3.10
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, gvanrossum, kj, lukasz.langa, miss-islington, srittau
Priority: normal Keywords: patch

Created on 2021-08-19 13:50 by srittau, last changed 2021-08-22 20:05 by lukasz.langa. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 27833 merged srittau, 2021-08-19 13:56
PR 27897 merged miss-islington, 2021-08-22 18:45
Messages (6)
msg399919 - (view) Author: Sebastian Rittau (srittau) * Date: 2021-08-19 13:50
The new PEP 604 syntax for type unions should be mentioned more prominently in the typing docs, starting with Python 3.10. I'm preparing a PR for discussion.
msg399921 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2021-08-19 15:41
Ken, this sounds like a good idea. Can you help?
msg399925 - (view) Author: Ken Jin (kj) * (Python committer) Date: 2021-08-19 16:57
Sure. Sebastian has created a really thorough PR at GH-27833 and I like it (with only one point for discussion).
msg399926 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2021-08-19 17:33
Thanks to both of you!!
msg400092 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-08-22 18:45
New changeset dabb6e8ddd7626266184ba022bcb76f74196248f by Sebastian Rittau in branch 'main':
bpo-44957: Promote PEP 604 syntax in typing docs (GH-27833)
https://github.com/python/cpython/commit/dabb6e8ddd7626266184ba022bcb76f74196248f
msg400102 - (view) Author: Łukasz Langa (lukasz.langa) * (Python committer) Date: 2021-08-22 20:05
Thanks, Sebastian! ✨ 🍰 ✨
History
Date User Action Args
2021-08-22 20:05:09lukasz.langasetstatus: open -> closed
resolution: fixed
messages: + msg400102

stage: patch review -> resolved
2021-08-22 18:45:09miss-islingtonsetnosy: + miss-islington
pull_requests: + pull_request26352
2021-08-22 18:45:05lukasz.langasetnosy: + lukasz.langa
messages: + msg400092
2021-08-19 17:33:38gvanrossumsetmessages: + msg399926
2021-08-19 16:57:32kjsetmessages: + msg399925
2021-08-19 15:41:27gvanrossumsetnosy: + kj, gvanrossum
messages: + msg399921
2021-08-19 13:56:46srittausetkeywords: + patch
stage: patch review
pull_requests: + pull_request26297
2021-08-19 13:50:37srittaucreate