]> 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)
committerPablo Galindo <pablogsal@gmail.com>
Wed, 22 Sep 2021 22:42:19 +0000 (23:42 +0100)
commite0b61b28641bdd20cfeff6d9878f1318b711ca19
treefbe8cef24340ada1862e1b60f2b360c6192b9de2
parent76611038bc3d2aa643dce45448f5c7044dd4fd06
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]