[issue43219] shutil.copy raises IsADirectoryError when the directory does not actually exist

Łukasz Langa report at bugs.python.org
Tue Sep 21 17:53:11 EDT 2021


Łukasz Langa <lukasz at langa.pl> added the comment:


New changeset b7eac52b466f697d3e89f47508e0df0196a98970 by andrei kulakov in branch 'main':
bpo-45234: Fix FileNotFound exception raised instead of IsADirectoryError in shutil.copyfile() (GH-28421)
https://github.com/python/cpython/commit/b7eac52b466f697d3e89f47508e0df0196a98970


----------
nosy: +lukasz.langa

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43219>
_______________________________________


More information about the Python-bugs-list mailing list