Skip to content

pathlib.Path.exists() on non-existent drive raises WinError instead of returning False #79873

Description

@JordanHueckstaedt
BPO 35692
Nosy @pfmoore, @pitrou, @tjguk, @zware, @eryksun, @zooba, @miss-islington
PRs
  • bpo-35692: pathlib no longer raises when checking file and directory existence #11746
  • bpo-35692: pathlib no longer raises when checking file and directory existence #11746
  • bpo-35692: pathlib no longer raises when checking file and directory existence #11746
  • [3.7] bpo-35692: pathlib no longer raises when checking file and directory existence on drives that are not ready (GH-11746) #11752
  • [3.7] bpo-35692: pathlib no longer raises when checking file and directory existence on drives that are not ready (GH-11746) #11752
  • [3.7] bpo-35692: pathlib no longer raises when checking file and directory existence on drives that are not ready (GH-11746) #11752
  • 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 2019-02-04.07:33:25.544>
    created_at = <Date 2019-01-09.03:00:15.061>
    labels = ['3.7', '3.8', 'type-bug', 'library', 'OS-windows']
    title = 'pathlib.Path.exists() on non-existent drive raises WinError instead of returning False'
    updated_at = <Date 2019-02-04.07:33:25.543>
    user = 'https://bugs.python.org/JordanHueckstaedt'

    bugs.python.org fields:

    activity = <Date 2019-02-04.07:33:25.543>
    actor = 'steve.dower'
    assignee = 'steve.dower'
    closed = True
    closed_date = <Date 2019-02-04.07:33:25.544>
    closer = 'steve.dower'
    components = ['Library (Lib)', 'Windows']
    creation = <Date 2019-01-09.03:00:15.061>
    creator = 'Jordan Hueckstaedt'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 35692
    keywords = ['patch', 'patch', 'patch']
    message_count = 6.0
    messages = ['333275', '333724', '333729', '333748', '334811', '334814']
    nosy_count = 8.0
    nosy_names = ['paul.moore', 'pitrou', 'tim.golden', 'zach.ware', 'eryksun', 'steve.dower', 'miss-islington', 'Jordan Hueckstaedt']
    pr_nums = ['11746', '11746', '11746', '11752', '11752', '11752']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue35692'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    Labels

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