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 serhiy.storchaka
Recipients benhoyt, python-dev, scott.dial, serhiy.storchaka, vstinner
Date 2015-03-10.15:34:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
When followlinks is true, symlinks is not needed.

But I this commit breaks a code like following:

def unsymlink(top):
    for root, dirs, files in os.walk(top):
        for name in dirs:
            path = os.path.join(root, name)
            if os.path.islink(path):
                target = os.path.join(root, os.readlink(path))
                os.unlink(path)
                shutil.copytree(target, path)
        for name in files:
            path = os.path.join(root, name)
            if os.path.islink(path):
                target = os.path.join(root, os.readlink(path))
                os.unlink(path)
                shutil.copy2(target, path)
History
Date User Action Args
2015-03-10 15:34:09serhiy.storchakasetrecipients: + serhiy.storchaka, scott.dial, vstinner, benhoyt, python-dev
2015-03-10 15:34:09serhiy.storchakasetmessageid: <[email protected]>
2015-03-10 15:34:09serhiy.storchakalinkissue23605 messages
2015-03-10 15:34:09serhiy.storchakacreate