Skip to content

pathlib.Path('/').mkdir() raises wrong error type #69989

@DanielLepage

Description

@DanielLepage
BPO 25803
Nosy @pitrou, @serhiy-storchaka, @eryksun
PRs
  • bpo-25803: Avoid incorrect errors raised by Path.mkdir(exist_ok=True) #805
  • bpo-25803: Avoid incorrect errors raised by Path.mkdir(exist_ok=True)… #806
  • bpo-25803: Avoid incorrect errors raised by Path.mkdir(exist_ok=True)… #807
  • 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 2017-03-24.19:50:35.993>
    created_at = <Date 2015-12-05.03:48:12.568>
    labels = ['3.7', 'type-bug', 'library']
    title = "pathlib.Path('/').mkdir() raises wrong error type"
    updated_at = <Date 2017-03-24.19:50:35.992>
    user = 'https://bugs.python.org/DanielLepage'

    bugs.python.org fields:

    activity = <Date 2017-03-24.19:50:35.992>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2017-03-24.19:50:35.993>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2015-12-05.03:48:12.568>
    creator = 'Daniel Lepage'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 25803
    keywords = []
    message_count = 7.0
    messages = ['255916', '255956', '255958', '290100', '290105', '290112', '290113']
    nosy_count = 4.0
    nosy_names = ['pitrou', 'serhiy.storchaka', 'eryksun', 'Daniel Lepage']
    pr_nums = ['805', '806', '807']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue25803'
    versions = ['Python 3.5', 'Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Labels

    3.7 (EOL)end of lifestdlibStandard 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