Skip to content

xml.sax.xmlreader.XMLReader.getProperty (xml.sax.handler.property_xml_string) returns bytes #50935

@cms103

Description

@cms103
mannequin
BPO 6686
Nosy @loewis, @amauryfa, @scoder, @taleinat, @tiran, @jfgossage, @ukarroum
PRs
  • bpo-6686: Fix Lib.xml.sax.expatreader.GetProperty to return a string object #9715
  • bpo-35018: Sax parser provides no user access to lexical handlers. #10328
  • bpo-6686: Replaced String with Bytes in xml.sax.handler documentation #30612
  • Files
  • expatreader.py.patch: Patch to return xml.sax.handler.property_xml_string as a string rather than bytes.
  • expatreader.py.patch2: Patch to return xml.sax.handler.property_xml_string as a string and to provide the Locator2 interface.
  • 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 = None
    created_at = <Date 2009-08-11.19:19:52.203>
    labels = ['expert-XML', 'type-bug', '3.9', '3.10', '3.11']
    title = 'xml.sax.xmlreader.XMLReader.getProperty (xml.sax.handler.property_xml_string) returns bytes'
    updated_at = <Date 2022-01-15.16:25:18.444>
    user = 'https://bugs.python.org/cms103'

    bugs.python.org fields:

    activity = <Date 2022-01-15.16:25:18.444>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['XML']
    creation = <Date 2009-08-11.19:19:52.203>
    creator = 'cms103'
    dependencies = []
    files = ['14701', '14702']
    hgrepos = []
    issue_num = 6686
    keywords = ['patch']
    message_count = 7.0
    messages = ['91482', '91503', '91504', '91505', '110871', '327700', '327708']
    nosy_count = 8.0
    nosy_names = ['loewis', 'amaury.forgeotdarc', 'scoder', 'taleinat', 'christian.heimes', 'cms103', 'Jonathan.Gossage', 'ukarroum']
    pr_nums = ['9715', '10328', '30612']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue6686'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9 (EOL)end of lifetopic-XMLtype-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