Skip to content

ElementTree incorrectly parses strings with declared encoding not UTF-8 #61190

@serhiy-storchaka

Description

@serhiy-storchaka
BPO 16986
Nosy @serhiy-storchaka
Dependencies
  • bpo-17089: Expat parser parses strings only when XML encoding is UTF-8
  • Files
  • etree_parse_str.patch
  • etree_parse_str_2.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-05-22.18:17:43.288>
    created_at = <Date 2013-01-17.16:54:18.910>
    labels = ['expert-XML', 'type-bug']
    title = 'ElementTree incorrectly parses strings with declared encoding not UTF-8'
    updated_at = <Date 2013-05-22.18:29:51.731>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2013-05-22.18:29:51.731>
    actor = 'eli.bendersky'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2013-05-22.18:17:43.288>
    closer = 'serhiy.storchaka'
    components = ['XML']
    creation = <Date 2013-01-17.16:54:18.910>
    creator = 'serhiy.storchaka'
    dependencies = ['17089']
    files = ['29233', '30341']
    hgrepos = []
    issue_num = 16986
    keywords = ['patch']
    message_count = 10.0
    messages = ['180143', '180144', '182950', '183456', '189816', '189817', '189819', '189820', '189832', '189833']
    nosy_count = 3.0
    nosy_names = ['eli.bendersky', 'python-dev', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue16986'
    versions = ['Python 3.3', 'Python 3.4']

    Metadata

    Metadata

    Labels

    topic-XMLtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions