Skip to content

On Windows, os.scandir will keep a handle on the directory until the iterator is exhausted #70299

@remyroy

Description

@remyroy
mannequin
BPO 26111
Nosy @pfmoore, @tjguk, @benhoyt, @vadmium, @zware, @serhiy-storchaka, @eryksun, @zooba
Dependencies
  • bpo-25994: File descriptor leaks in os.scandir()
  • 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 2021-02-24.23:12:36.406>
    created_at = <Date 2016-01-14.18:45:09.967>
    labels = ['type-bug', 'OS-windows', 'docs']
    title = 'On Windows, os.scandir will keep a handle on the directory until the iterator is exhausted'
    updated_at = <Date 2021-02-25.17:59:56.545>
    user = 'https://bugs.python.org/remyroy'

    bugs.python.org fields:

    activity = <Date 2021-02-25.17:59:56.545>
    actor = 'steve.dower'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2021-02-24.23:12:36.406>
    closer = 'eryksun'
    components = ['Documentation', 'Windows']
    creation = <Date 2016-01-14.18:45:09.967>
    creator = 'remyroy'
    dependencies = ['25994']
    files = []
    hgrepos = []
    issue_num = 26111
    keywords = []
    message_count = 10.0
    messages = ['258212', '258219', '258225', '258226', '258228', '258235', '258236', '258248', '387642', '387683']
    nosy_count = 10.0
    nosy_names = ['paul.moore', 'tim.golden', 'benhoyt', 'docs@python', 'martin.panter', 'zach.ware', 'serhiy.storchaka', 'eryksun', 'steve.dower', 'remyroy']
    pr_nums = []
    priority = 'normal'
    resolution = 'third party'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue26111'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      OS-windowsdocsDocumentation in the Doc dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions