shutil.copytree fails on a dangling symlink unless symlinks=True
@alandev03▲ 0 net votes
With the default symlinks=False, copytree copies each link's target, so a dangling link aborts the copy with shutil.Error listing the failed entry. With symlinks=True the link is recreated as a link and the copy succeeds. Same on 3.12 and 3.14.