Skip to content

shutil.move creates a new directory even on failure #86948

@winsonluk

Description

@winsonluk
mannequin
BPO 42782
Nosy @orsenthil, @JelleZijlstra, @miss-islington, @winsonluk
PRs
  • bpo-42782: Fail fast for permission errors in shutil.move() #24001
  • [3.8] bpo-42782: Fail fast for permission errors in shutil.move() (GH-24001) #24709
  • [3.9] bpo-42782: Fail fast for permission errors in shutil.move() (GH-24001) #24710
  • [3.8] bpo-42782: Fail fast for permission errors in shutil.move() (GH-24001) #24711
  • [3.8] bpo-42782: Fail fast for permission errors in shutil.move() (GH-24001) #24724
  • [3.9] bpo-42782: Fail fast for permission errors in shutil.move() (GH24001) #24725
  • [3.9] bpo-42782: fix broken shutil test #31971
  • 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/orsenthil'
    closed_at = <Date 2021-03-03.16:04:24.296>
    created_at = <Date 2020-12-29.18:38:15.949>
    labels = ['3.8', 'type-bug', 'library', '3.9', '3.10']
    title = 'shutil.move creates a new directory even on failure'
    updated_at = <Date 2022-03-18.02:46:04.643>
    user = 'https://github.com/winsonluk'

    bugs.python.org fields:

    activity = <Date 2022-03-18.02:46:04.643>
    actor = 'orsenthil'
    assignee = 'orsenthil'
    closed = True
    closed_date = <Date 2021-03-03.16:04:24.296>
    closer = 'orsenthil'
    components = ['Library (Lib)']
    creation = <Date 2020-12-29.18:38:15.949>
    creator = 'winsonluk'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42782
    keywords = ['patch']
    message_count = 6.0
    messages = ['384021', '384023', '387969', '388024', '388026', '415466']
    nosy_count = 4.0
    nosy_names = ['orsenthil', 'JelleZijlstra', 'miss-islington', 'winsonluk']
    pr_nums = ['24001', '24709', '24710', '24711', '24724', '24725', '31971']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'patch review'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue42782'
    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 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