Skip to content

Allow auto-numbered replacement fields in str.format() strings #49487

@terryjreedy

Description

@terryjreedy
BPO 5237
Nosy @gvanrossum, @terryjreedy, @mdickinson, @ncoghlan, @orsenthil, @pitrou, @ericvsmith, @ezio-melotti
Files
  • auto_number_formatter.py
  • auto_number_formatter_1.py
  • auto_number_formatter_2.py
  • auto_number_formatter_3.py
  • issue5237-0.patch
  • string27.txt: Revised string doc for implicit numeric arg names
  • 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 2009-04-22.00:55:30.236>
    created_at = <Date 2009-02-12.23:28:48.259>
    labels = ['interpreter-core', 'type-feature']
    title = 'Allow auto-numbered replacement fields in str.format() strings'
    updated_at = <Date 2009-04-22.00:55:30.235>
    user = 'https://github.com/terryjreedy'

    bugs.python.org fields:

    activity = <Date 2009-04-22.00:55:30.235>
    actor = 'eric.smith'
    assignee = 'eric.smith'
    closed = True
    closed_date = <Date 2009-04-22.00:55:30.236>
    closer = 'eric.smith'
    components = ['Interpreter Core']
    creation = <Date 2009-02-12.23:28:48.259>
    creator = 'terry.reedy'
    dependencies = []
    files = ['13067', '13073', '13081', '13082', '13326', '13733']
    hgrepos = []
    issue_num = 5237
    keywords = ['patch']
    message_count = 43.0
    messages = ['81837', '81861', '81865', '81869', '81873', '81910', '81920', '81930', '81935', '81947', '81951', '81961', '82002', '82005', '83373', '83374', '83394', '83409', '83414', '83418', '83422', '83423', '83546', '83547', '83559', '83560', '83561', '83565', '83567', '83570', '83571', '83585', '83604', '83605', '86043', '86045', '86046', '86214', '86258', '86262', '86263', '86264', '86265']
    nosy_count = 9.0
    nosy_names = ['gvanrossum', 'terry.reedy', 'mark.dickinson', 'ncoghlan', 'orsenthil', 'pitrou', 'eric.smith', 'LambertDW', 'ezio.melotti']
    pr_nums = []
    priority = 'high'
    resolution = 'accepted'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue5237'
    versions = ['Python 3.1', 'Python 2.7']

    Metadata

    Metadata

    Assignees

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions