Skip to content

pathlib mkdir throws FileExistsError when not supposed to #79373

@AdamDunlap

Description

@AdamDunlap
mannequin
BPO 35192
Nosy @tirkarthi
Superseder
  • bpo-29694: race condition in pathlib mkdir with flags parents=True
  • Files
  • pymkir.py
  • 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 2019-11-12.12:50:16.844>
    created_at = <Date 2018-11-08.20:08:28.733>
    labels = ['type-bug', 'library']
    title = 'pathlib mkdir throws FileExistsError when not supposed to'
    updated_at = <Date 2019-11-12.12:50:16.842>
    user = 'https://bugs.python.org/AdamDunlap'

    bugs.python.org fields:

    activity = <Date 2019-11-12.12:50:16.842>
    actor = 'xtreak'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-11-12.12:50:16.844>
    closer = 'xtreak'
    components = ['Library (Lib)']
    creation = <Date 2018-11-08.20:08:28.733>
    creator = 'Adam Dunlap'
    dependencies = []
    files = ['47917']
    hgrepos = []
    issue_num = 35192
    keywords = []
    message_count = 5.0
    messages = ['329484', '329495', '329576', '329578', '356452']
    nosy_count = 2.0
    nosy_names = ['xtreak', 'Adam Dunlap']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '29694'
    type = 'behavior'
    url = 'https://bugs.python.org/issue35192'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions