Skip to content

shutil.move into child directory on a case insensitive OS #103165

Open
@danny0838

Description

@danny0838

Bug report

On a case insensitive filesystem, shutil.move(r'D:\Folder', r'd:\folder\subfolder') will run and cause recureive file/directory copying until hitting OS path length limitation.

Your environment

  • CPython versions tested on: 11., 12.
  • Operating system and architecture: Windows

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions