New submission from Kevin Teague <kevin.t.waterbear.cl...@gmail.com>:
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? ---------- components: Library (Lib) messages: 347996 nosy: Kevin Teague priority: normal severity: normal status: open title: shutil.make_archive does not follow symlinks for zip archives versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37601> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com