New submission from Alori <valor...@gmail.com>:
https://bugs.python.org/issue34097 addressed a zipfile.ZipFile() issue where zip files with timestamps prior to the year 1980 could not be created. The fix adds the strict_timestamps=True|False keyword argument to the ZipFile class. shutil.make_archive() is a high-level utility that uses ZipFile() to simplify zip file creation. Unfortunately, it doesn't support the new 'strict_timestamps' keyword which means users encountering the 'ValueError: ZIP does not support timestamps before 1980' exception must revert to using zipfile.ZipFile() instead. I believe adding the 'strict_timestamps' keyword to shutil.make_archive() and propagating it to zipfileZipFile() ---------- components: Library (Lib) messages: 353329 nosy: valorien priority: normal severity: normal status: open title: shutil.make_archive() should allow setting zipfile.ZipFile() 'strict_timestamps' type: enhancement versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38288> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com