Skip to content

UTF-8 incremental decoder doesn't support surrogatepass correctly #68402

Description

@RalfM
mannequin
BPO 24214
Nosy @vstinner, @ned-deily, @ezio-melotti, @methane, @serhiy-storchaka, @miss-islington, @tirkarthi, @roufique7
PRs
  • bpo-24214: Fixed the UTF-8 incremental decoder. #12603
  • [3.7] bpo-24214: Fixed the UTF-8 incremental decoder. (GH-12603) #12627
  • bpo-24214: Fixed the UTF-8 and UTF-16 incremental decoders. #14304
  • [3.8] bpo-24214: Fixed the UTF-8 and UTF-16 incremental decoders. (GH-14304) #14368
  • [3.7] bpo-24214: Fixed the UTF-8 and UTF-16 incremental decoders. (GH-14304) #14369
  • Files
  • Demo.txt: File to demonstrate the issue
  • surrogatepass.patch
  • 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/serhiy-storchaka'
    closed_at = <Date 2019-06-25.10:30:35.570>
    created_at = <Date 2015-05-16.22:56:34.256>
    labels = ['interpreter-core', 'type-bug', '3.8', '3.9', '3.7', 'expert-unicode']
    title = "UTF-8 incremental decoder doesn't support surrogatepass correctly"
    updated_at = <Date 2019-07-02.22:34:03.466>
    user = 'https://bugs.python.org/RalfM'

    bugs.python.org fields:

    activity = <Date 2019-07-02.22:34:03.466>
    actor = 'ned.deily'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2019-06-25.10:30:35.570>
    closer = 'vstinner'
    components = ['Interpreter Core', 'Unicode']
    creation = <Date 2015-05-16.22:56:34.256>
    creator = 'RalfM'
    dependencies = []
    files = ['39400', '43911']
    hgrepos = []
    issue_num = 24214
    keywords = ['patch']
    message_count = 20.0
    messages = ['243376', '271412', '271461', '271839', '339036', '339177', '339199', '346152', '346248', '346273', '346494', '346496', '346503', '346504', '346822', '346838', '346839', '346842', '346844', '347163']
    nosy_count = 9.0
    nosy_names = ['vstinner', 'ned.deily', 'ezio.melotti', 'methane', 'serhiy.storchaka', 'RalfM', 'miss-islington', 'xtreak', 'roufique7']
    pr_nums = ['12603', '12627', '14304', '14368', '14369']
    priority = 'high'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue24214'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions