This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author veaviticus
Recipients veaviticus
Date 2019-10-18.22:29:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1571437755.03.0.462874003253.issue38523@roundup.psfhosted.org>
In-reply-to
Content
The ignore_dangling_symlinks attribute in shutil.copytree is not passed down recursively, resulting in dangling symlinks located anywhere other than the root of the source tree to raise an error.

The line causing the error for 3.9: https://github.com/python/cpython/blob/v3.8.0/Lib/shutil.py#L486

Trivial patches and an improved test case for:
3.7: https://github.com/veaviticus/cpython/commit/a662ae8a3f85380ec76ed3dfbc778aad8c5ac37a

3.8: https://github.com/veaviticus/cpython/commit/64f72c7196243bd3e2cf4136ebbb9f9ffe206750

3.9: https://github.com/veaviticus/cpython/commit/e55dd12e558443c350d241d87bf17dfc322dbfcf
History
Date User Action Args
2019-10-18 22:29:15veaviticussetrecipients: + veaviticus
2019-10-18 22:29:15veaviticussetmessageid: <1571437755.03.0.462874003253.issue38523@roundup.psfhosted.org>
2019-10-18 22:29:15veaviticuslinkissue38523 messages
2019-10-18 22:29:14veaviticuscreate