Skip to content

string.Template should use re.ASCII flag #75853

@methane

Description

@methane
BPO 31672
Nosy @warsaw, @rhettinger, @ezio-melotti, @methane, @serhiy-storchaka
PRs
  • bpo-31672: string: Use re.A | re.I flag for identifier pattern #3872
  • [3.6] bpo-31672: Fix string.Template accidentally matched non-ASCII identifiers (GH-3872) #3982
  • bpo-31672: doc: Remove one sentence from library/string.rst #3990
  • bpo-31672 - Add one last minor clarification for idpattern #4483
  • bpo-31672: Restore the former behavior whe override flags in Template. #5099
  • 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 2018-01-04.17:40:09.131>
    created_at = <Date 2017-10-03.11:15:40.009>
    labels = ['expert-regex', 'type-bug', '3.7']
    title = 'string.Template should use re.ASCII flag'
    updated_at = <Date 2018-01-04.17:40:09.130>
    user = 'https://github.com/methane'

    bugs.python.org fields:

    activity = <Date 2018-01-04.17:40:09.130>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-01-04.17:40:09.131>
    closer = 'serhiy.storchaka'
    components = ['Regular Expressions']
    creation = <Date 2017-10-03.11:15:40.009>
    creator = 'methane'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31672
    keywords = ['patch']
    message_count = 23.0
    messages = ['303596', '303618', '303627', '303670', '303671', '303673', '303674', '303675', '303692', '303694', '303696', '303844', '304052', '304053', '304313', '304376', '304392', '306350', '306607', '306651', '309468', '309472', '309475']
    nosy_count = 6.0
    nosy_names = ['barry', 'rhettinger', 'ezio.melotti', 'mrabarnett', 'methane', 'serhiy.storchaka']
    pr_nums = ['3872', '3982', '3990', '4483', '5099']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue31672'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions