Skip to content

functools.partial segfaults in repr when keywords attribute is abused #73986

@MSeifert04

Description

@MSeifert04
BPO 29800
Nosy @ambv, @serhiy-storchaka, @MojoVampire, @MSeifert04
PRs
  • bpo-29800: Fix crashes in partial.__repr__ if the keys of partial.keywords are not strings #649
  • bpo-29800: [3.6] Fix crashes in partial.__repr__ if the keys of partial.keywords are not strings (#649) #671
  • bpo-29800: [3.5] Fix crashes in partial.__repr__ if the keys of partial.keywords are not strings (#649) #672
  • [Do Not Merge] Sample of CPython life with blurb. #703
  • 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 2017-03-15.07:44:40.141>
    created_at = <Date 2017-03-12.21:10:14.166>
    labels = ['3.7', 'library', 'type-crash']
    title = 'functools.partial segfaults in repr when keywords attribute is abused'
    updated_at = <Date 2017-03-24.22:19:14.562>
    user = 'https://github.com/MSeifert04'

    bugs.python.org fields:

    activity = <Date 2017-03-24.22:19:14.562>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2017-03-15.07:44:40.141>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2017-03-12.21:10:14.166>
    creator = 'MSeifert'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 29800
    keywords = []
    message_count = 11.0
    messages = ['289510', '289544', '289546', '289554', '289558', '289566', '289641', '289646', '290180', '290181', '290182']
    nosy_count = 4.0
    nosy_names = ['lukasz.langa', 'serhiy.storchaka', 'josh.r', 'MSeifert']
    pr_nums = ['649', '671', '672', '703']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue29800'
    versions = ['Python 3.5', 'Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Labels

    3.7 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-crashA hard crash of the interpreter, possibly with a core dump

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions