Skip to content

inspect not capturing type annotations created by __class_getitem__ #89601

Closed
@rhettinger

Description

@rhettinger
BPO 45438
Nosy @gvanrossum, @rhettinger, @ambv, @serhiy-storchaka, @ilevkivskyi, @miss-islington, @Fidget-Spinner, @martinitus
PRs
  • bpo-45438: format of inspect.Signature with generic builtins #29212
  • [3.10] bpo-45438: format of inspect.Signature with generic builtins (GH-29212) #29253
  • [3.9] bpo-45438: format of inspect.Signature with generic builtins (GH-29212) #29254
  • 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-10-29.08:43:15.006>
    created_at = <Date 2021-10-11.22:05:54.548>
    labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
    title = 'inspect not capturing type annotations created by __class_getitem__'
    updated_at = <Date 2021-10-29.08:43:15.004>
    user = 'https://github.com/rhettinger'

    bugs.python.org fields:

    activity = <Date 2021-10-29.08:43:15.004>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-10-29.08:43:15.006>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2021-10-11.22:05:54.548>
    creator = 'rhettinger'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45438
    keywords = ['patch']
    message_count = 21.0
    messages = ['403692', '403697', '403759', '403760', '403826', '404961', '404966', '404967', '404970', '404974', '404976', '404993', '405034', '405128', '405132', '405133', '405138', '405161', '405163', '405283', '405292']
    nosy_count = 8.0
    nosy_names = ['gvanrossum', 'rhettinger', 'lukasz.langa', 'serhiy.storchaka', 'levkivskyi', 'miss-islington', 'kj', 'martinitus']
    pr_nums = ['29212', '29253', '29254']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue45438'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9only security fixesstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions