Author Kevin Teague
Recipients Kevin Teague
Date 2019-07-16.00:15:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Zip archives created with shutil.make_archive will not follow symlinks.

The shutil._make_zipfile uses os.walk:

    for dirpath, dirnames, filenames in os.walk(base_dir)

os.walk has the followlinks parameter:

    for dirpath, dirnames, filenames in os.walk(base_dir, followlinks=True)

Setting followlinks to True will include symlinks in a zip archive.

Could a followlinks parameter be added to shutil.make_archive?
Date User Action Args
2019-07-16 00:15:38Kevin Teaguesetrecipients: + Kevin Teague
2019-07-16 00:15:38Kevin Teaguesetmessageid: <>
2019-07-16 00:15:38Kevin Teaguelinkissue37601 messages
2019-07-16 00:15:37Kevin Teaguecreate