Skip to content

Add the close method for ElementTree.iterparse() object #69893

Description

@serhiy-storchaka
BPO25707
Nosy@scoder, @serhiy-storchaka, @Vgr255, @furkanonder, @jacobtylerwalls
PRs
  • bpo-43292: Fix file leak in ET.iterparse() when not exhausted #31696
  • Dependencies
  • bpo-25638: Verify the etree_parse and etree_iterparse benchmarks are working appropriately
  • 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=Nonecreated_at=<Date2015-11-23.13:57:25.201>labels= ['3.8', 'library', 'performance']
    title='Add the close method for ElementTree.iterparse() object'updated_at=<Date2022-03-05.15:26:50.497>user='https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity=<Date2022-03-05.15:26:50.497>actor='jacobtylerwalls'assignee='serhiy.storchaka'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Library (Lib)']
    creation=<Date2015-11-23.13:57:25.201>creator='serhiy.storchaka'dependencies= ['25638']
    files= []
    hgrepos= []
    issue_num=25707keywords= ['patch']
    message_count=8.0messages= ['255159', '255164', '255171', '255173', '341003', '341253', '341258', '368308']
    nosy_count=5.0nosy_names= ['scoder', 'serhiy.storchaka', 'abarry', 'furkanonder', 'jacobtylerwalls']
    pr_nums= ['31696']
    priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype='resource usage'url='https://bugs.python.org/issue25707'versions= ['Python 3.8']

    Linked PRs

    Metadata

    Metadata

    Labels

    3.8 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytopic-XMLtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions