]> 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:21:10 +0000 (15:21 -0700)
committerGitHub <noreply@github.com>
Tue, 21 Sep 2021 22:21:10 +0000 (00:21 +0200)
commit09390c837a0bf73e213db2fbde34d756fa77a837
tree57db48d607617a9025c27deb1eff6f0198003881
parentdf1006b561f9dca5a15af98d54f0337a75b69445
bpo-45234: Fix FileNotFound exception raised instead of IsADirectoryError in shutil.copyfile() (GH-28421) (GH-28507)

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]