Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce use of old-style syntax in typing docs #90262

Closed
AlexWaygood opened this issue Dec 16, 2021 · 7 comments
Closed

Reduce use of old-style syntax in typing docs #90262

AlexWaygood opened this issue Dec 16, 2021 · 7 comments
Labels
3.9 only security fixes 3.10 only security fixes 3.11 only security fixes docs Documentation in the Doc dir type-feature A feature request or enhancement

Comments

@AlexWaygood
Copy link
Member

BPO 46104
Nosy @gvanrossum, @miss-islington, @Fidget-Spinner, @AlexWaygood
PRs
  • bpo-46104: Reduce use of pre-PEP 526 syntax in typing docs #30148
  • [3.10] bpo-46104: Reduce use of pre-PEP 526 syntax in typing docs (GH-30148) #30179
  • [3.9] bpo-46104: Reduce use of pre-PEP 526 syntax in typing docs (GH-30148) #30180
  • bpo-46104: [typing docs]: Fix example broken by PR #30148 #30203
  • [3.10] bpo-46104: Fix example broken by GH-30148 (GH-30203) #30209
  • [3.9] bpo-46104: Fix example broken by GH-30148 (GH-30203) #30210
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2021-12-20.06:03:43.530>
    created_at = <Date 2021-12-16.16:23:54.674>
    labels = ['3.11', 'type-feature', '3.9', '3.10', 'docs']
    title = 'Reduce use of old-style syntax in typing docs'
    updated_at = <Date 2021-12-20.06:03:43.529>
    user = 'https://github.com/AlexWaygood'

    bugs.python.org fields:

    activity = <Date 2021-12-20.06:03:43.529>
    actor = 'AlexWaygood'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2021-12-20.06:03:43.530>
    closer = 'AlexWaygood'
    components = ['Documentation']
    creation = <Date 2021-12-16.16:23:54.674>
    creator = 'AlexWaygood'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46104
    keywords = ['patch']
    message_count = 7.0
    messages = ['408721', '408840', '408842', '408843', '408943', '408945', '408946']
    nosy_count = 5.0
    nosy_names = ['gvanrossum', 'docs@python', 'miss-islington', 'kj', 'AlexWaygood']
    pr_nums = ['30148', '30179', '30180', '30203', '30209', '30210']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue46104'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    @AlexWaygood
    Copy link
    Member Author

    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.

    @AlexWaygood AlexWaygood added 3.9 only security fixes 3.10 only security fixes 3.11 only security fixes labels Dec 16, 2021
    @AlexWaygood AlexWaygood added docs Documentation in the Doc dir type-feature A feature request or enhancement 3.9 only security fixes 3.10 only security fixes 3.11 only security fixes labels Dec 16, 2021
    @AlexWaygood AlexWaygood added docs Documentation in the Doc dir type-feature A feature request or enhancement labels Dec 16, 2021
    @Fidget-Spinner
    Copy link
    Member

    New changeset 6ada013 by Alex Waygood in branch 'main':
    bpo-46104: Reduce use of pre-PEP 526 syntax in typing docs (GH-30148)
    6ada013

    @miss-islington
    Copy link
    Contributor

    New changeset 43cb8f4 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)
    43cb8f4

    @miss-islington
    Copy link
    Contributor

    New changeset a66be91 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)
    a66be91

    @Fidget-Spinner
    Copy link
    Member

    New changeset 7c5c3f7 by Alex Waygood in branch 'main':
    bpo-46104: Fix example broken by #74334 (GH-30203)
    7c5c3f7

    @miss-islington
    Copy link
    Contributor

    New changeset 8e4564d by Miss Islington (bot) in branch '3.9':
    [3.9] bpo-46104: Fix example broken by #74334 (GH-30203) (GH-30210)
    8e4564d

    @miss-islington
    Copy link
    Contributor

    New changeset 0c0bd78 by Miss Islington (bot) in branch '3.10':
    [3.10] bpo-46104: Fix example broken by #74334 (GH-30203) (GH-30209)
    0c0bd78

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.9 only security fixes 3.10 only security fixes 3.11 only security fixes docs Documentation in the Doc dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants