Skip to content

More reliable use of scandir in Path.glob() #84097

Description

@serhiy-storchaka
BPO 39916
Nosy @serhiy-storchaka, @miss-islington
PRs
  • bpo-39916: Use os.scandir() as context manager in Path.glob(). #18880
  • [3.8] bpo-39916: Use os.scandir() as context manager in Path.glob(). (GH-18880) #18934
  • [3.7] bpo-39916: Use os.scandir() as context manager in Path.glob(). (GH-18880) #18935
  • 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 2020-03-11.17:07:50.377>
    created_at = <Date 2020-03-09.16:54:33.494>
    labels = ['3.8', '3.7', 'library', '3.9', 'performance']
    title = 'More reliable use of scandir in Path.glob()'
    updated_at = <Date 2020-03-11.17:07:50.376>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2020-03-11.17:07:50.376>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-03-11.17:07:50.377>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2020-03-09.16:54:33.494>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 39916
    keywords = ['patch']
    message_count = 4.0
    messages = ['363750', '363934', '363942', '363944']
    nosy_count = 2.0
    nosy_names = ['serhiy.storchaka', 'miss-islington']
    pr_nums = ['18880', '18934', '18935']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'resource usage'
    url = 'https://bugs.python.org/issue39916'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of life3.9 (EOL)end of lifeperformancePerformance 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