Skip to content

re.escape() does not work with bytes() #48006

@andrewmcnamara

Description

@andrewmcnamara
BPO 3756
Nosy @gvanrossum, @pitrou
Files
  • re_escape.py: Alternate re.escape()
  • re_escape-patch: Patch to fix re.escape() bytes() support, plus tests.
  • 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/gvanrossum'
    closed_at = <Date 2008-09-10.17:44:47.818>
    created_at = <Date 2008-09-02.02:19:40.696>
    labels = ['expert-regex', 'deferred-blocker', 'type-bug']
    title = 're.escape() does not work with bytes()'
    updated_at = <Date 2008-09-10.23:24:57.182>
    user = 'https://bugs.python.org/andrewmcnamara'

    bugs.python.org fields:

    activity = <Date 2008-09-10.23:24:57.182>
    actor = 'andrewmcnamara'
    assignee = 'gvanrossum'
    closed = True
    closed_date = <Date 2008-09-10.17:44:47.818>
    closer = 'gvanrossum'
    components = ['Regular Expressions']
    creation = <Date 2008-09-02.02:19:40.696>
    creator = 'andrewmcnamara'
    dependencies = []
    files = ['11340', '11352']
    hgrepos = []
    issue_num = 3756
    keywords = []
    message_count = 10.0
    messages = ['72309', '72310', '72353', '72371', '72498', '72509', '72759', '72760', '72978', '72996']
    nosy_count = 3.0
    nosy_names = ['gvanrossum', 'andrewmcnamara', 'pitrou']
    pr_nums = []
    priority = 'deferred blocker'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue3756'
    versions = ['Python 3.0']

    Metadata

    Metadata

    Assignees

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions