Skip to content

format(float(123), "00") causes segfault in debug builds #79741

Closed
@tirkarthi

Description

@tirkarthi
BPO 35560
Nosy @gpshead, @mdickinson, @vstinner, @ericvsmith, @ned-deily, @serhiy-storchaka, @miss-islington, @tirkarthi
PRs
  • bpo-35560: Remove incorrect assert statement that caused segfault in debug builds #11288
  • [3.7] bpo-35560: Remove assertion from format(float, "n") (GH-11288) #11458
  • [3.6] bpo-35560: Remove assertion from format(float, "n") (GH-11288) #23231
  • 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 2019-01-07.15:27:54.657>
    created_at = <Date 2018-12-22.10:20:42.854>
    labels = ['interpreter-core', '3.7', '3.8', 'type-crash']
    title = 'format(float(123), "00") causes segfault in debug builds'
    updated_at = <Date 2020-11-10.19:58:35.740>
    user = 'https://github.com/tirkarthi'

    bugs.python.org fields:

    activity = <Date 2020-11-10.19:58:35.740>
    actor = 'ned.deily'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-01-07.15:27:54.657>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2018-12-22.10:20:42.854>
    creator = 'xtreak'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 35560
    keywords = ['patch']
    message_count = 13.0
    messages = ['332342', '332347', '332350', '332353', '332354', '332356', '332359', '332361', '333162', '333167', '333169', '380696', '380705']
    nosy_count = 8.0
    nosy_names = ['gregory.p.smith', 'mark.dickinson', 'vstinner', 'eric.smith', 'ned.deily', 'serhiy.storchaka', 'miss-islington', 'xtreak']
    pr_nums = ['11288', '11458', '23231']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue35560'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-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