Skip to content

Use scandir() to speed up pathlib globbing #70220

@gvanrossum

Description

@gvanrossum
BPO 26032
Nosy @gvanrossum, @brettcannon, @pitrou, @benhoyt, @ethanfurman, @serhiy-storchaka, @barneygale
PRs
  • bpo-43012: remove pathlib._Accessor #25701
  • Dependencies
  • bpo-25596: Use scandir() to speed up the glob module
  • bpo-25994: File descriptor leaks in os.scandir()
  • Files
  • pathlib_glob_scandir.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 2016-09-07.11:18:35.524>
    created_at = <Date 2016-01-06.22:55:27.013>
    labels = ['library', 'performance']
    title = 'Use scandir() to speed up pathlib globbing'
    updated_at = <Date 2021-05-14.08:09:53.071>
    user = 'https://github.com/gvanrossum'

    bugs.python.org fields:

    activity = <Date 2021-05-14.08:09:53.071>
    actor = 'vstinner'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2016-09-07.11:18:35.524>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2016-01-06.22:55:27.013>
    creator = 'gvanrossum'
    dependencies = ['25596', '25994']
    files = ['41577']
    hgrepos = []
    issue_num = 26032
    keywords = ['patch']
    message_count = 11.0
    messages = ['257653', '257654', '257656', '257657', '257660', '257664', '257665', '257679', '257955', '259283', '274776']
    nosy_count = 8.0
    nosy_names = ['gvanrossum', 'brett.cannon', 'pitrou', 'benhoyt', 'ethan.furman', 'python-dev', 'serhiy.storchaka', 'barneygale']
    pr_nums = ['25701']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue26032'
    versions = ['Python 3.6']

    Metadata

    Metadata

    Labels

    performancePerformance or resource usagestdlibStandard Library Python modules in the Lib/ directory

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions