]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34097: Add support for zipping files older than 1980-01-01 (GH-8270)
authorMarcel Plch <gmarcel.plch@gmail.com>
Thu, 2 Aug 2018 13:04:52 +0000 (15:04 +0200)
committerVictor Stinner <vstinner@redhat.com>
Thu, 2 Aug 2018 13:04:52 +0000 (15:04 +0200)
commita2fe1e52eb94c41d9ebce1ab284180d7b1faa2a4
tree252fe3c3a784a8c4e68873be4743ba703b551653
parentfc512e3e0663f7f325862fcd42aef765fd34a453
bpo-34097: Add support for zipping files older than 1980-01-01 (GH-8270)

ZipFile can zip files older than 1980-01-01 and newer than 2107-12-31 using
a new strict_timestamps parameter at the cost of setting the timestamp
to the limit.
Doc/library/zipfile.rst
Lib/test/test_zipfile.py
Lib/zipfile.py
Misc/NEWS.d/next/Library/2018-07-13-13-42-10.bpo-34097.F5Dk5o.rst [new file with mode: 0644]