Skip to content

Generic types accept indexing/subscripting, causing confusion #86176

Description

@Fidget-Spinner
BPO 42010
Nosy @gvanrossum, @terryjreedy, @ilevkivskyi, @miss-islington, @Fidget-Spinner
PRs
  • bpo-42010: Prevent generic types from being indexed #22667
  • bpo-42010: [docs] Clarify subscription of types #22822
  • [3.9] bpo-42010: [docs] Clarify subscription of types (GH-22822) #22840
  • 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-10-21.00:01:22.935>
    created_at = <Date 2020-10-12.07:46:12.616>
    labels = ['type-bug', '3.9', '3.10', 'docs']
    title = 'Generic types accept indexing/subscripting, causing confusion'
    updated_at = <Date 2020-10-21.00:01:22.934>
    user = 'https://github.com/Fidget-Spinner'

    bugs.python.org fields:

    activity = <Date 2020-10-21.00:01:22.934>
    actor = 'gvanrossum'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2020-10-21.00:01:22.935>
    closer = 'gvanrossum'
    components = ['Documentation']
    creation = <Date 2020-10-12.07:46:12.616>
    creator = 'kj'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42010
    keywords = ['patch']
    message_count = 9.0
    messages = ['378475', '378476', '378533', '378538', '378752', '378754', '379153', '379173', '379174']
    nosy_count = 6.0
    nosy_names = ['gvanrossum', 'terry.reedy', 'docs@python', 'levkivskyi', 'miss-islington', 'kj']
    pr_nums = ['22667', '22822', '22840']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue42010'
    versions = ['Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.9 (EOL)end of lifedocsDocumentation in the Doc dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions