]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Related to SF patch 618135: gzip.py and files > 2G.
authorTim Peters <tim.peters@gmail.com>
Mon, 4 Nov 2002 19:50:11 +0000 (19:50 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 4 Nov 2002 19:50:11 +0000 (19:50 +0000)
commitfb0ea525d528153838586bf8ece15a45bbf5ddf3
tree0dbd427c60c6142e6bfd146e998d88c07f1aedc6
parent47ca2bc661e39238a948d1c967756fd0580c3502
Related to SF patch 618135: gzip.py and files > 2G.
Fixed the signed/unsigned confusions when dealing with files >= 2GB.
4GB is still a hard limitation of the gzip file format, though.

Testing this was a bitch on Win98SE due to frequent system freezes.  It
didn't freeze while running gzip, it kept freezing while trying to *create*
a > 2GB test file!  This wasn't Python's doing.  I don't know of a
reasonable way to test this functionality in regrtest.py, so I'm not
checking in a test case (a test case would necessarily require creating
a 2GB+ file first, using gzip to zip it, using gzip to unzip it again,
and then compare before-and-after; so >4GB free space would be required,
and a loooong time; I did all this "by hand" once).

Bugfix candidate, I guess.
Lib/gzip.py
Misc/NEWS