Skip to content

pygettext3.7 Does Not Recognize gettext Calls Within fstrings #80491

Description

@AllieFitter
BPO 36310
Nosy @ericvsmith, @abadger, @isidentical, @jack1142
PRs
  • bpo-36310: Allow pygettext.py to detect calls to gettext in f-strings. #19875
  • Files
  • f-string-gettext.py
  • 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 2020-11-09.22:55:09.217>
    created_at = <Date 2019-03-16.02:07:27.696>
    labels = ['type-bug', '3.10']
    title = 'pygettext3.7 Does Not Recognize gettext Calls Within fstrings'
    updated_at = <Date 2020-11-09.22:55:09.216>
    user = 'https://bugs.python.org/AllieFitter'

    bugs.python.org fields:

    activity = <Date 2020-11-09.22:55:09.216>
    actor = 'BTaskaya'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-11-09.22:55:09.217>
    closer = 'BTaskaya'
    components = ['Demos and Tools']
    creation = <Date 2019-03-16.02:07:27.696>
    creator = 'Allie Fitter'
    dependencies = []
    files = ['48504']
    hgrepos = []
    issue_num = 36310
    keywords = ['patch']
    message_count = 8.0
    messages = ['338049', '341984', '341988', '341991', '341993', '342031', '348417', '380622']
    nosy_count = 5.0
    nosy_names = ['eric.smith', 'a.badger', 'BTaskaya', 'Allie Fitter', 'jack1142']
    pr_nums = ['19875']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue36310'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixestype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions