Skip to content

typing.py get_args and get_origin should support PEP 604 and 612 #86906

Description

@Fidget-Spinner
BPO 42740
Nosy @gvanrossum, @ilevkivskyi, @miss-islington, @Fidget-Spinner
PRs
  • bpo-42740: Support PEP 604, 612 for typing.py get_args and get_origin #23942
  • bpo-42740: Fix get_args for PEP 585 collections.abc.Callable #23963
  • [3.9] bpo-42740: Fix get_args for PEP 585 collections.abc.Callable (GH-23963) #23977
  • 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 2020-12-29.02:29:46.598>
    created_at = <Date 2020-12-25.15:19:22.201>
    labels = ['type-bug', 'library', '3.9', '3.10']
    title = 'typing.py get_args and get_origin should support PEP 604 and 612'
    updated_at = <Date 2020-12-29.02:29:46.597>
    user = 'https://github.com/Fidget-Spinner'

    bugs.python.org fields:

    activity = <Date 2020-12-29.02:29:46.597>
    actor = 'gvanrossum'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-12-29.02:29:46.598>
    closer = 'gvanrossum'
    components = ['Library (Lib)']
    creation = <Date 2020-12-25.15:19:22.201>
    creator = 'kj'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42740
    keywords = ['patch']
    message_count = 4.0
    messages = ['383747', '383924', '383925', '383945']
    nosy_count = 4.0
    nosy_names = ['gvanrossum', 'levkivskyi', 'miss-islington', 'kj']
    pr_nums = ['23942', '23963', '23977']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue42740'
    versions = ['Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions