Skip to content

backport 3.0-style \u/\U processing in raw strings when unicode_literals is imported from __future__ #46822

@gvanrossum

Description

@gvanrossum
BPO 2570
Nosy @gvanrossum, @pitrou, @avassalotti, @benjaminp, @ezio-melotti, @bitdancer, @florentx
Files
  • issue2570-test.patch: trivial patch to add a unit test for this
  • 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 2010-08-26.02:56:32.687>
    created_at = <Date 2008-04-07.18:29:02.157>
    labels = ['interpreter-core', 'type-bug']
    title = 'backport 3.0-style \\u/\\U processing in raw strings when unicode_literals is imported from __future__'
    updated_at = <Date 2010-08-26.02:56:32.628>
    user = 'https://github.com/gvanrossum'

    bugs.python.org fields:

    activity = <Date 2010-08-26.02:56:32.628>
    actor = 'r.david.murray'
    assignee = 'none'
    closed = True
    closed_date = <Date 2010-08-26.02:56:32.687>
    closer = 'r.david.murray'
    components = ['Interpreter Core']
    creation = <Date 2008-04-07.18:29:02.157>
    creator = 'gvanrossum'
    dependencies = []
    files = ['13450']
    hgrepos = []
    issue_num = 2570
    keywords = ['patch']
    message_count = 6.0
    messages = ['65090', '109437', '109439', '109446', '109648', '114954']
    nosy_count = 9.0
    nosy_names = ['gvanrossum', 'pitrou', 'pooryorick', 'alexandre.vassalotti', 'benjamin.peterson', 'ezio.melotti', 'r.david.murray', 'zhirsch', 'flox']
    pr_nums = []
    priority = 'normal'
    resolution = 'rejected'
    stage = 'needs patch'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue2570'
    versions = ['Python 2.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error
      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