Skip to content

ElementTree (py3k) doesn't properly encode characters that can't be represented in the specified encoding #50482

@NeilMuller

Description

@NeilMuller
mannequin
BPO 6233
Nosy @loewis, @rhettinger, @pitrou, @benjaminp
Files
  • issue6233_py3k.diff: Simple patch
  • issue6233_py3k_with_test.diff: Combined patch with test case
  • issue6233-escape_entities.diff: Excp handling in _encode + prev submitted test
  • issue6233-encode_cdata.diff: _encode & effbot's _escape_cdata, w/ test
  • 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-02-09.16:56:25.962>
    created_at = <Date 2009-06-07.21:30:58.882>
    labels = ['type-bug', 'library']
    title = "ElementTree (py3k) doesn't properly encode characters that can't be represented in the specified encoding"
    updated_at = <Date 2010-02-09.16:56:25.961>
    user = 'https://bugs.python.org/NeilMuller'

    bugs.python.org fields:

    activity = <Date 2010-02-09.16:56:25.961>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2010-02-09.16:56:25.962>
    closer = 'pitrou'
    components = ['Library (Lib)']
    creation = <Date 2009-06-07.21:30:58.882>
    creator = 'Neil Muller'
    dependencies = []
    files = ['14223', '14316', '14340', '14361']
    hgrepos = []
    issue_num = 6233
    keywords = ['patch']
    message_count = 16.0
    messages = ['89058', '89059', '89276', '89504', '89505', '89583', '89585', '89623', '89684', '89690', '89715', '89718', '89722', '89728', '95045', '99125']
    nosy_count = 8.0
    nosy_names = ['loewis', 'effbot', 'rhettinger', 'pitrou', 'benjamin.peterson', 'hodgestar', 'Neil Muller', 'jcsalterego']
    pr_nums = []
    priority = 'critical'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue6233'
    versions = ['Python 3.1', 'Python 3.2']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions