Skip to content

PyArg_ParseTuple with format "et#" and "es#" detects overflow by raising TypeError instead of ValueError #70386

@hniksic

Description

@hniksic
mannequin
BPO 26198
Nosy @hniksic, @berkerpeksag, @vadmium, @serhiy-storchaka
Files
  • typeerror.patch
  • pyarg_parse_encoded_string.patch
  • pyarg_parse_encoded_string_2.patch
  • 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/serhiy-storchaka'
    closed_at = <Date 2016-02-08.18:53:30.874>
    created_at = <Date 2016-01-25.16:13:08.267>
    labels = ['interpreter-core', 'type-bug', 'docs']
    title = 'PyArg_ParseTuple with format "et#" and "es#" detects overflow by raising TypeError instead of ValueError'
    updated_at = <Date 2016-02-08.18:53:30.873>
    user = 'https://github.com/hniksic'

    bugs.python.org fields:

    activity = <Date 2016-02-08.18:53:30.873>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2016-02-08.18:53:30.874>
    closer = 'serhiy.storchaka'
    components = ['Documentation', 'Interpreter Core']
    creation = <Date 2016-01-25.16:13:08.267>
    creator = 'hniksic'
    dependencies = []
    files = ['41712', '41720', '41746']
    hgrepos = []
    issue_num = 26198
    keywords = ['patch']
    message_count = 16.0
    messages = ['258905', '258907', '258915', '258917', '258957', '258960', '259151', '259163', '259167', '259170', '259171', '259172', '259809', '259820', '259825', '259826']
    nosy_count = 7.0
    nosy_names = ['hniksic', 'docs@python', 'python-dev', 'berker.peksag', 'martin.panter', 'serhiy.storchaka', 'Barun Parruck']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue26198'
    versions = ['Python 2.7', 'Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Labels

    docsDocumentation in the Doc dirinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions