Skip to content

PEP 471 implementation: os.scandir() directory scanning function #66714

@benhoyt

Description

@benhoyt
mannequin
BPO 22524
Nosy @tebeka, @pitrou, @vstinner, @giampaolo, @tjguk, @benhoyt, @4kir4, @socketpair, @MojoVampire
Files
  • scandir-1.patch: Patch to document, implement, and test os.scandir()
  • clear_system_cache.patch
  • do_os_walk_getsize.patch
  • scandir-2.patch
  • get_tree_size_listdir.diff
  • scandir-3.patch
  • scandir-4.patch
  • scandir-5.patch
  • bench_scandir.py
  • bench_scandir2.py
  • scandir-6.patch
  • scandir-7.patch: Updated all-C implementation
  • scandir-8.patch: Updated all-C implementation per Victor's review
  • whatsnew.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 = None
    closed_at = <Date 2015-03-09.09:52:18.560>
    created_at = <Date 2014-09-30.14:42:42.209>
    labels = ['type-feature', 'library']
    title = 'PEP 471 implementation: os.scandir() directory scanning function'
    updated_at = <Date 2015-03-10.13:24:41.391>
    user = 'https://github.com/benhoyt'

    bugs.python.org fields:

    activity = <Date 2015-03-10.13:24:41.391>
    actor = 'benhoyt'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-03-09.09:52:18.560>
    closer = 'vstinner'
    components = ['Library (Lib)']
    creation = <Date 2014-09-30.14:42:42.209>
    creator = 'benhoyt'
    dependencies = []
    files = ['36831', '36847', '36848', '36963', '37292', '38108', '38111', '38113', '38114', '38120', '38121', '38259', '38374', '38421']
    hgrepos = []
    issue_num = 22524
    keywords = ['patch']
    message_count = 56.0
    messages = ['227933', '228751', '228775', '228780', '228784', '228786', '228818', '228819', '228821', '228854', '228855', '228857', '228858', '228866', '228867', '228872', '228873', '229659', '231673', '231677', '231682', '231684', '231703', '231745', '235458', '235806', '235833', '235835', '235848', '235849', '235859', '235860', '235865', '235873', '235874', '235883', '235884', '235888', '235920', '235940', '236205', '236738', '237328', '237446', '237489', '237490', '237495', '237496', '237497', '237505', '237624', '237627', '237753', '237758', '237761', '237765']
    nosy_count = 12.0
    nosy_names = ['tebeka', 'pitrou', 'vstinner', 'giampaolo.rodola', 'tim.golden', 'benhoyt', 'abacabadabacaba', 'akira', 'socketpair', 'python-dev', 'josh.r', 'alexei.romanov']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue22524'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      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