Skip to content

[Windows] OSError when testing whether pathlib.Path('*') exists #79487

@jimbo1qaz

Description

@jimbo1qaz
mannequin
BPO 35306
Nosy @pfmoore, @pitrou, @tjguk, @zware, @serhiy-storchaka, @eryksun, @zooba, @miss-islington
PRs
  • bpo-35306: Handle '*' in pathlib.Path functions on Windows #11133
  • bpo-35306: Avoid raising OSError from pathlib.Path.exists when passed an invalid filename #25529
  • [3.9] bpo-35306: Avoid raising OSError from pathlib.Path.exists when passed an invalid filename (GH-25529) #25534
  • [3.8] bpo-35306: Avoid raising OSError from pathlib.Path.exists when passed an invalid filename (GH-25529) #25535
  • 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/zooba'
    closed_at = <Date 2021-04-22.20:12:38.885>
    created_at = <Date 2018-11-24.05:55:59.185>
    labels = ['type-bug', '3.8', '3.9', '3.10', 'library', 'OS-windows']
    title = "[Windows] OSError when testing whether pathlib.Path('*') exists"
    updated_at = <Date 2021-04-22.20:53:11.398>
    user = 'https://bugs.python.org/jimbo1qaz'

    bugs.python.org fields:

    activity = <Date 2021-04-22.20:53:11.398>
    actor = 'steve.dower'
    assignee = 'steve.dower'
    closed = True
    closed_date = <Date 2021-04-22.20:12:38.885>
    closer = 'steve.dower'
    components = ['Library (Lib)', 'Windows']
    creation = <Date 2018-11-24.05:55:59.185>
    creator = 'jimbo1qaz_'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 35306
    keywords = ['patch']
    message_count = 8.0
    messages = ['330371', '330394', '333092', '333728', '333730', '391627', '391630', '391631']
    nosy_count = 9.0
    nosy_names = ['paul.moore', 'pitrou', 'tim.golden', 'zach.ware', 'serhiy.storchaka', 'eryksun', 'steve.dower', 'miss-islington', 'jimbo1qaz_']
    pr_nums = ['11133', '25529', '25534', '25535']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue35306'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixes3.8 (EOL)end of life3.9 (EOL)end of lifeOS-windowsstdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions