]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45234: Fix FileNotFound exception raised instead of IsADirectoryError in shutil...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 21 Sep 2021 22:14:40 +0000 (15:14 -0700)
committerGitHub <noreply@github.com>
Tue, 21 Sep 2021 22:14:40 +0000 (00:14 +0200)
commit41d48bc038b254cc4a78a2d840097196b9545a84
treece4d3793d9fd8918baabdaf32182f6f99ddf1830
parente6b6c1d23b3702052637f70551451d12695403a1
bpo-45234: Fix FileNotFound exception raised instead of IsADirectoryError in shutil.copyfile() (GH-28421) (GH-28508)

This was a regression from fixing BPO-43219.
(cherry picked from commit b7eac52b466f697d3e89f47508e0df0196a98970)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
Lib/shutil.py
Lib/test/test_shutil.py
Misc/NEWS.d/next/Library/2021-09-17-11-20-55.bpo-45234.qUcTVt.rst [new file with mode: 0644]