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.

classification
Title: Reduce use of old-style syntax in typing docs
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.11, Python 3.10, Python 3.9
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: AlexWaygood, docs@python, gvanrossum, kj, miss-islington
Priority: normal Keywords: patch

Created on 2021-12-16 16:23 by AlexWaygood, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 30148 merged AlexWaygood, 2021-12-16 16:27
PR 30179 merged miss-islington, 2021-12-18 10:24
PR 30180 merged miss-islington, 2021-12-18 10:24
PR 30203 merged AlexWaygood, 2021-12-19 15:21
PR 30209 merged miss-islington, 2021-12-20 04:48
PR 30210 merged miss-islington, 2021-12-20 04:49
Messages (7)
msg408721 - (view) Author: Alex Waygood (AlexWaygood) * (Python triager) Date: 2021-12-16 16:23
There are a few places in the typing docs where old-style (pre-PEP 526) syntax is used in examples. It doesn't look like these examples have been updated since 2016; it would be good to change them so that they use the newer syntax introduced in PEP 526.
msg408840 - (view) Author: Ken Jin (kj) * (Python committer) Date: 2021-12-18 10:23
New changeset 6ada013df170b0afb6b61a0d942388c6fd81cbc9 by Alex Waygood in branch 'main':
bpo-46104: Reduce use of pre-PEP 526 syntax in typing docs (GH-30148)
https://github.com/python/cpython/commit/6ada013df170b0afb6b61a0d942388c6fd81cbc9
msg408842 - (view) Author: miss-islington (miss-islington) Date: 2021-12-18 12:14
New changeset 43cb8f483b9f815abf9801e05ec70ae55ca3c5a5 by Miss Islington (bot) in branch '3.9':
[3.9] bpo-46104: Reduce use of pre-PEP 526 syntax in typing docs (GH-30148) (GH-30180)
https://github.com/python/cpython/commit/43cb8f483b9f815abf9801e05ec70ae55ca3c5a5
msg408843 - (view) Author: miss-islington (miss-islington) Date: 2021-12-18 12:14
New changeset a66be9185c6e0299293a06e21a6f599dfe6c3f60 by Miss Islington (bot) in branch '3.10':
[3.10] bpo-46104: Reduce use of pre-PEP 526 syntax in typing docs (GH-30148) (GH-30179)
https://github.com/python/cpython/commit/a66be9185c6e0299293a06e21a6f599dfe6c3f60
msg408943 - (view) Author: Ken Jin (kj) * (Python committer) Date: 2021-12-20 04:48
New changeset 7c5c3f7254d78babcaf7a2ec187fd6ec53b8403c by Alex Waygood in branch 'main':
bpo-46104: Fix example broken by GH-30148 (GH-30203)
https://github.com/python/cpython/commit/7c5c3f7254d78babcaf7a2ec187fd6ec53b8403c
msg408945 - (view) Author: miss-islington (miss-islington) Date: 2021-12-20 06:02
New changeset 8e4564d14ae0fc97cfea4de9e271468d4c28a6fe by Miss Islington (bot) in branch '3.9':
[3.9] bpo-46104: Fix example broken by GH-30148 (GH-30203) (GH-30210)
https://github.com/python/cpython/commit/8e4564d14ae0fc97cfea4de9e271468d4c28a6fe
msg408946 - (view) Author: miss-islington (miss-islington) Date: 2021-12-20 06:02
New changeset 0c0bd78ccf8e1eb1d8ecfce423daf2a2f8ca6d3b by Miss Islington (bot) in branch '3.10':
[3.10] bpo-46104: Fix example broken by GH-30148 (GH-30203) (GH-30209)
https://github.com/python/cpython/commit/0c0bd78ccf8e1eb1d8ecfce423daf2a2f8ca6d3b
History
Date User Action Args
2022-04-11 14:59:53adminsetgithub: 90262
2021-12-20 06:03:43AlexWaygoodsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2021-12-20 06:02:13miss-islingtonsetmessages: + msg408946
2021-12-20 06:02:13miss-islingtonsetmessages: + msg408945
2021-12-20 04:49:00miss-islingtonsetpull_requests: + pull_request28431
2021-12-20 04:48:56miss-islingtonsetpull_requests: + pull_request28430
2021-12-20 04:48:51kjsetmessages: + msg408943
2021-12-19 15:24:23AlexWaygoodsetstatus: closed -> open
resolution: fixed -> (no value)
stage: resolved -> patch review
2021-12-19 15:21:14AlexWaygoodsetpull_requests: + pull_request28424
2021-12-18 12:18:44AlexWaygoodsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2021-12-18 12:14:28miss-islingtonsetmessages: + msg408843
2021-12-18 12:14:22miss-islingtonsetmessages: + msg408842
2021-12-18 10:24:16miss-islingtonsetpull_requests: + pull_request28399
2021-12-18 10:24:12miss-islingtonsetnosy: + miss-islington
pull_requests: + pull_request28398
2021-12-18 10:24:00kjsetmessages: + msg408840
2021-12-16 16:27:20AlexWaygoodsetkeywords: + patch
stage: patch review
pull_requests: + pull_request28368
2021-12-16 16:23:54AlexWaygoodcreate