Skip to content

string.Formatter doesn't support empty curly braces "{}" #57807

@RamchandraApte

Description

@RamchandraApte
BPO 13598
Nosy @terryjreedy, @vsajip, @ncoghlan, @ericvsmith, @mitsuhiko, @ezio-melotti, @merwok, @florentx, @meadori, @pelson
Files
  • issue13598.diff: A patch to fix this issue (Version 2)
  • test_string.diff: A patch to test.test_string to test for this bug.
  • issue13598.diff: A patch to fix this issue (Version 3)
  • issue13598.diff: A patch to fix this issue (Version 4)
  • test_string.diff: A patch to test.test_string to test for this bug. (Version 2)
  • pelson_issue13598.diff: An alternative patch to fix the issue (test included). (vn1)
  • 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/ericvsmith'
    closed_at = <Date 2014-04-14.20:45:35.986>
    created_at = <Date 2011-12-14.03:59:21.793>
    labels = ['type-bug', 'library']
    title = 'string.Formatter doesn\'t support empty curly braces "{}"'
    updated_at = <Date 2014-05-08.14:46:39.380>
    user = 'https://bugs.python.org/RamchandraApte'

    bugs.python.org fields:

    activity = <Date 2014-05-08.14:46:39.380>
    actor = 'aronacher'
    assignee = 'eric.smith'
    closed = True
    closed_date = <Date 2014-04-14.20:45:35.986>
    closer = 'eric.smith'
    components = ['Library (Lib)']
    creation = <Date 2011-12-14.03:59:21.793>
    creator = 'Ramchandra Apte'
    dependencies = []
    files = ['23952', '23955', '24542', '25816', '25817', '27810']
    hgrepos = []
    issue_num = 13598
    keywords = ['patch']
    message_count = 30.0
    messages = ['149420', '149424', '149426', '149433', '149515', '149523', '149566', '150507', '153397', '153532', '153533', '162207', '162224', '162226', '162254', '162549', '162550', '162551', '162562', '162565', '162668', '174272', '174282', '180281', '180290', '183434', '183453', '216207', '216208', '218114']
    nosy_count = 13.0
    nosy_names = ['terry.reedy', 'vinay.sajip', 'ncoghlan', 'eric.smith', 'aronacher', 'ezio.melotti', 'eric.araujo', 'flox', 'meador.inge', 'python-dev', 'Ramchandra Apte', 'pelson', 'binkert']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue13598'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Assignees

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions