Skip to content

UTF-16 and UTF-32 codecs should reject (lone) surrogates #57101

Closed
@ezio-melotti

Description

@ezio-melotti
BPO 12892
Nosy @malemburg, @gvanrossum, @loewis, @mjpieters, @pitrou, @vstinner, @ezio-melotti, @serhiy-storchaka
Files
  • utf_16_32_surrogates.patch
  • utf-16&32_reject_surrogates.patch: rejects surrogate and calls the error handlers
  • surrogatepass_for_utf-16&32.patch: surrogatepass erro handler for utf-16/32
  • utf_16_32_surrogates_3.patch
  • utf_16_32_surrogates_4.patch
  • utf_16_32_surrogates_5.patch
  • utf_16_32_surrogates_6.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 2013-11-19.10:31:20.466>
    created_at = <Date 2011-09-04.10:49:30.301>
    labels = ['type-bug', 'expert-unicode']
    title = 'UTF-16 and UTF-32 codecs should reject (lone) surrogates'
    updated_at = <Date 2015-08-11.11:28:28.010>
    user = 'https://github.com/ezio-melotti'

    bugs.python.org fields:

    activity = <Date 2015-08-11.11:28:28.010>
    actor = 'tmp12342'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2013-11-19.10:31:20.466>
    closer = 'serhiy.storchaka'
    components = ['Unicode']
    creation = <Date 2011-09-04.10:49:30.301>
    creator = 'ezio.melotti'
    dependencies = []
    files = ['23810', '24368', '24384', '31557', '31984', '32047', '32202']
    hgrepos = []
    issue_num = 12892
    keywords = ['patch']
    message_count = 41.0
    messages = ['143490', '143495', '148603', '148613', '148614', '152310', '152316', '152420', '159129', '196785', '196788', '196790', '196798', '196803', '198803', '199151', '199179', '199183', '199184', '199186', '199187', '199188', '199189', '199190', '199191', '199192', '199193', '199194', '199195', '199197', '199371', '199375', '199500', '200233', '203344', '203353', '203375', '203591', '248362', '248392', '248404']
    nosy_count = 12.0
    nosy_names = ['lemburg', 'gvanrossum', 'loewis', 'mjpieters', 'pitrou', 'vstinner', 'ezio.melotti', 'python-dev', 'tchrist', 'kennyluck', 'serhiy.storchaka', 'tmp12342']
    pr_nums = []
    priority = 'high'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue12892'
    versions = ['Python 3.4']

    Metadata

    Metadata

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions