Skip to content

xml.ElementTree iterparse filehandle left open #87458

@vkisforever

Description

@vkisforever
BPO 43292
Nosy @vadmium, @serhiy-storchaka, @tonybaloney, @miss-islington, @jacobtylerwalls
PRs
  • bpo-43292: Fix file leak in ET.iterparse() when not exhausted #31696
  • [3.9] bpo-43292: Fix file leak in ET.iterparse() when not exhausted (GH-31696) #31720
  • [3.10] bpo-43292: Fix file leak in ET.iterparse() when not exhausted (GH-31696) #31721
  • Files
  • ETiterparse.py: iterparse issue recreator
  • 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 2022-03-07.11:50:57.033>
    created_at = <Date 2021-02-22.04:11:29.388>
    labels = ['3.9', '3.10', 'performance', 'expert-XML', '3.11', 'library']
    title = 'xml.ElementTree iterparse filehandle left open'
    updated_at = <Date 2022-03-07.11:50:57.032>
    user = 'https://bugs.python.org/vkisforever'

    bugs.python.org fields:

    activity = <Date 2022-03-07.11:50:57.032>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-03-07.11:50:57.033>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)', 'XML']
    creation = <Date 2021-02-22.04:11:29.388>
    creator = 'vkisforever'
    dependencies = []
    files = ['49826']
    hgrepos = []
    issue_num = 43292
    keywords = ['patch']
    message_count = 10.0
    messages = ['387494', '387495', '387496', '387497', '387498', '387571', '388457', '414647', '414653', '414658']
    nosy_count = 7.0
    nosy_names = ['martin.panter', 'serhiy.storchaka', 'anthonypjshaw', 'miss-islington', 'vkisforever', 'dtom9424', 'jacobtylerwalls']
    pr_nums = ['31696', '31720', '31721']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'resource usage'
    url = 'https://bugs.python.org/issue43292'
    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 lifeperformancePerformance or resource usagestdlibStandard Library Python modules in the Lib/ directorytopic-XML

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions