Message 103657 - Python tracker (original) (raw)
Ideally I feel it should create the same symlink pointing to a possibly missing file, since that's what '/bin/cp' does, and shutil.copytree is broadly understood as a drop in replacement..
That's what would happen if the symlink option is set to True. When False, copytree() is supposed to copy the file pointed by the symlink, so copying the symlink as a fallback in case the file doesn't exists seems wrong to me in case symlink=False