Skip to content

gh-101420: Make os.walk() and os.fwalk() raise NotADirectoryError for non-directory top#151734

Open
Aniketsy wants to merge 3 commits into
python:mainfrom
Aniketsy:fix-101420
Open

gh-101420: Make os.walk() and os.fwalk() raise NotADirectoryError for non-directory top#151734
Aniketsy wants to merge 3 commits into
python:mainfrom
Aniketsy:fix-101420

Handle NotADirectoryError in shutil._rmtree_unsafe and pathlib.Path.w…

e0736ac
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
DO-NOT-MERGE
succeeded Jun 25, 2026 in 3s