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

Gregory P. Smith report at bugs.python.org
Fri Jul 9 23:47:59 EDT 2021


Gregory P. Smith <greg at krypto.org> added the comment:


New changeset 248173cc0483a9ad9261353302f1234cf9eb2ebe by andrei kulakov in branch 'main':
bpo-43219: shutil.copyfile, raise a less confusing exception instead of IsADirectoryError (GH-27049)
https://github.com/python/cpython/commit/248173cc0483a9ad9261353302f1234cf9eb2ebe


----------

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


More information about the Python-bugs-list mailing list