Skip to content

Confusing error messages in str.format() #72333

Description

@serhiy-storchaka
BPO 28146
Nosy @pitrou, @vstinner, @ericvsmith, @ezio-melotti, @serhiy-storchaka, @miss-islington, @iritkatriel
PRs
  • bpo-28146: Fix a confusing error message in str.format() #24213
  • [3.8] bpo-28146: Fix a confusing error message in str.format() (GH-24213) #26110
  • [3.9] bpo-28146: Fix a confusing error message in str.format() (GH-24213) #26111
  • [3.10] bpo-28146: Fix a confusing error message in str.format() (GH-24213) #26112
  • 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 2021-05-13.21:39:16.746>
    created_at = <Date 2016-09-14.11:12:35.529>
    labels = ['interpreter-core', 'type-bug', '3.9', '3.10', '3.11', 'expert-unicode']
    title = 'Confusing error messages in str.format()'
    updated_at = <Date 2021-05-14.08:08:15.534>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2021-05-14.08:08:15.534>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-05-13.21:39:16.746>
    closer = 'pitrou'
    components = ['Interpreter Core', 'Unicode']
    creation = <Date 2016-09-14.11:12:35.529>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 28146
    keywords = ['patch']
    message_count = 7.0
    messages = ['276415', '276417', '385052', '393608', '393610', '393612', '393631']
    nosy_count = 7.0
    nosy_names = ['pitrou', 'vstinner', 'eric.smith', 'ezio.melotti', 'serhiy.storchaka', 'miss-islington', 'iritkatriel']
    pr_nums = ['24213', '26110', '26111', '26112']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue28146'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)topic-unicodetype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions