66 Commits (ff337ccd4bf9b6edea5aa25ea72f7d4c02a3bf47)

Author SHA1 Message Date
Nadeem Vawda d7664dee0c Issue #13781: Fix GzipFile to work with os.fdopen()'d file objects. 15 years ago
Antoine Pitrou 76a66aab19 Merged revisions 85291 via svnmerge from 16 years ago
Mark Dickinson 2dd131d535 Merged revisions 80762 via svnmerge from 16 years ago
Mark Dickinson 3b0b4ff19e Fix test_gzip failure on OS X. The failure was a result of trying to fflush 16 years ago
Antoine Pitrou 5a9112c0cc Issue #2846: Add support for gzip.GzipFile reading zero-padded files. 17 years ago
Antoine Pitrou 673ddf9907 Issue #7471: Improve the performance of GzipFile's buffering mechanism, 17 years ago
Lars Gustäbel 8c06ccc058 Issue #4750: Store the basename of the original filename in 17 years ago
Philip Jenvey 54cea3b1a5 Merged revisions 72458 via svnmerge from 17 years ago
Philip Jenvey d846f1d4c2 #4351: more appropriate DeprecationWarning stacklevels 17 years ago
Antoine Pitrou b74fc2b5fe Issue #3860: GzipFile and BZ2File now support the context manager protocol. 18 years ago
Antoine Pitrou f0d2c3f730 Issue #4272: Add an optional argument to the GzipFile constructor to override the timestamp in the gzip stream. 18 years ago
Georg Brandl e08e3d0686 #2959: allow multiple close() calls for GzipFile. 18 years ago
Gregory P. Smith dd10284516 prevent a warning from the struct module when data size >= 2**32. 18 years ago
Gregory P. Smith ac830e932d A bugfix for r61813, it would fail if the data size was >=2**32. 18 years ago
Gregory P. Smith 79b4ba8fd7 Fix gzip to deal with CRC's being signed values in Python 2.x properly and to 18 years ago
Gregory P. Smith f15cde3732 Improve the error message when the CRCs don't match. 18 years ago
Lars Gustäbel f19c1b5e0e Strip the '.gz' extension from the filename that is written to the 20 years ago
Lars Gustäbel 5b1a785702 Patch #1647484: Renamed GzipFile's filename attribute to name. The 20 years ago
Martin v. Löwis 065f0c8a06 Patch #1355023: support whence argument for GzipFile.seek. 20 years ago
Tim Peters 62decc9f49 Try to squash struct.pack warnings on the "amd64 gentoo trunk" 20 years ago
Bob Ippolito d82c3105cc Apply revised patch for GzipFile.readline performance #1281707 20 years ago
Bob Ippolito b97597316b Revert gzip readline performance patch #1281707 until a more generic performance improvement can be found 20 years ago
Bob Ippolito d72aab5e31 GzipFile.readline performance improvement (~30-40%), patch #1281707 20 years ago
Andrew M. Kuchling 01cb47b59c [Bug #1074261, patch #1074381] Restrict the size of chunks read from the file in order to avoid overflow or huge memory consumption. Patch by Mark Eichin 21 years ago
Tim Peters eba28bea9b Whitespace normalization. 22 years ago
Martin v. Löwis f2a8d63e4f Patch #1110248: SYNC_FLUSH the zlib buffer for GZipFile.flush. 22 years ago
Tim Peters 49667c257b Ack, removed useless import of os I just introduced. 22 years ago
Tim Peters 5cfb05eef0 Added a new fileno() method. ZODB's repozo.py wants this so it can 22 years ago
Walter Dörwald 70a6b49821 Replace backticks with repr() or "%r" 23 years ago
Brett Cannon edfb30258e Fix error in exception message. 23 years ago
Andrew M. Kuchling 64edd6ac1d [Patch #654421 from Matthew Mueller] 24 years ago
Tim Peters 9288f95cb5 Another round on SF patch 618135: gzip.py and files > 2G 24 years ago
Tim Peters fb0ea525d5 Related to SF patch 618135: gzip.py and files > 2G. 24 years ago
Guido van Rossum 97c5fccd77 Remove mention of deprecated xreadlines method. 24 years ago
Raymond Hettinger aef22fb9cd Patch 560023 adding docstrings. 2.2 Candidate (after verifying modules were not updated after 2.2). 24 years ago
Skip Montanaro 12424bc0ef force gzip module to open files using 'b'inary mode. 24 years ago
Tim Peters 863ac44b74 Whitespace normalization. 25 years ago
Guido van Rossum 8ca162f417 Partial introduction of bools where appropriate. 25 years ago
Neil Schemenauer cacbdf6229 Make GzipFile an iterator. Closes bug #532621. 25 years ago
Martin v. Löwis db04489953 Patch #443899: Check modes on files before performing operations. 25 years ago
Fred Drake 95b0eb7cb3 "f" should be "self"; reported by Neal Norwitz. 25 years ago
Andrew M. Kuchling f31d31373e Remove redefinition of writelines() method 25 years ago
Tim Peters ab9ba27dc0 Whitespace normalization. 25 years ago
Martin v. Löwis 8cc965c1fb Patch #448474: Add support for tell() and seek() to gzip.GzipFile. 25 years ago
Andrew M. Kuchling 44f5f8fb26 Bug #409419: delete seek() and tell() methods, so callers can use getattr() 26 years ago
Jack Jansen 2d0589be67 The code to write timestamps couldn't handle negative times (and time 26 years ago
Eric S. Raymond ee5e61d3bc String method conversion. 26 years ago
Skip Montanaro 2dd4276559 added a few more __all__ lists 26 years ago
Tim Peters 07e99cb774 Whitespace normalization. 26 years ago
Andrew M. Kuchling 41616ee194 SF patch #100740: Add optional size arguments to .readline() and 26 years ago