Skip to content

Inconsistent error message for TypeError with subscripting #75731

@asottile

Description

@asottile
mannequin
BPO 31550
Nosy @rhettinger, @serhiy-storchaka, @asottile
PRs
  • bpo-31550: cherry pick: Make an error message more understandable and consistent with other error messages. #3692
  • [2.7] bpo-31550: Revert "Make an error message more understandable and consistent with other error messages." #6151
  • 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 = 'https://github.com/rhettinger'
    closed_at = <Date 2018-03-27.15:39:31.105>
    created_at = <Date 2017-09-22.03:32:38.210>
    labels = ['interpreter-core', 'type-bug']
    title = 'Inconsistent error message for TypeError with subscripting'
    updated_at = <Date 2018-03-27.15:39:31.104>
    user = 'https://github.com/asottile'

    bugs.python.org fields:

    activity = <Date 2018-03-27.15:39:31.104>
    actor = 'rhettinger'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2018-03-27.15:39:31.105>
    closer = 'rhettinger'
    components = ['Interpreter Core']
    creation = <Date 2017-09-22.03:32:38.210>
    creator = 'Anthony Sottile'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31550
    keywords = ['patch']
    message_count = 11.0
    messages = ['302736', '302738', '302756', '302848', '302868', '314106', '314115', '314116', '314118', '314506', '314535']
    nosy_count = 3.0
    nosy_names = ['rhettinger', 'serhiy.storchaka', 'Anthony Sottile']
    pr_nums = ['3692', '6151']
    priority = 'normal'
    resolution = 'rejected'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue31550'
    versions = ['Python 2.7']

    Metadata

    Metadata

    Assignees

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions