Skip to content

Use scandir() to speed up the glob module #69782

@xdegaye

Description

@xdegaye
mannequin
BPO 25596
Nosy @gvanrossum, @vstinner, @benhoyt, @xdegaye, @dimaqq, @serhiy-storchaka
Dependencies
  • bpo-16620: Avoid using private function glob.glob1() in msi module and tools
  • bpo-25994: File descriptor leaks in os.scandir()
  • Files
  • glob_isdir.patch
  • glob_isdir_2.patch
  • glob_scandir.patch
  • glob_scandir_2.patch
  • glob_scandir_doc.patch
  • glob_scandir_2_diff.patch
  • glob_scandir_3.patch
  • glob_scandir_4.patch
  • glob_scandir_5.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:10:52.544>
    created_at = <Date 2015-11-10.11:18:07.859>
    labels = ['type-feature', 'library']
    title = 'Use scandir() to speed up the glob module'
    updated_at = <Date 2016-09-07.11:10:52.543>
    user = 'https://github.com/xdegaye'

    bugs.python.org fields:

    activity = <Date 2016-09-07.11:10:52.543>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2016-09-07.11:10:52.544>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2015-11-10.11:18:07.859>
    creator = 'xdegaye'
    dependencies = ['16620', '25994']
    files = ['40996', '40999', '41474', '41481', '41533', '41570', '41571', '41576', '41895']
    hgrepos = []
    issue_num = 25596
    keywords = ['patch']
    message_count = 30.0
    messages = ['254440', '254449', '257347', '257354', '257403', '257421', '257423', '257424', '257456', '257655', '257659', '257758', '257912', '257930', '257938', '257947', '257953', '257954', '257958', '258009', '258015', '258016', '260098', '273912', '274611', '274612', '274696', '274770', '274783', '274794']
    nosy_count = 7.0
    nosy_names = ['gvanrossum', 'vstinner', 'benhoyt', 'xdegaye', 'python-dev', 'Dima.Tisnek', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue25596'
    versions = ['Python 3.6']

    Metadata

    Metadata

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions