- 09 Haz, 2005 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
[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
-
- 28 Mar, 2005 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 03 Mar, 2005 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
Partially fixes #1110242.
-
- 27 Tem, 2004 2 kayıt (commit)
-
-
Tim Peters yazdı
-
Tim Peters yazdı
apply os.fsync() to the GzipFile backup files it creates.
-
- 12 Şub, 2004 1 kayıt (commit)
-
-
Walter Dörwald yazdı
From SF patch #852334.
-
- 04 Ara, 2003 1 kayıt (commit)
-
-
Brett Cannon yazdı
-
- 05 Şub, 2003 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
gzip shouldn't raise ValueError on corrupt files Currently the gzip module will raise a ValueError if the file was corrupt (bad crc or bad size). I can't see how that applies to reading a corrupt file. IOError seems better, and it's what code will likely be looking for.
-
- 05 Kas, 2002 1 kayıt (commit)
-
-
Tim Peters yazdı
The last round boosted "the limit" from 2GB to 4GB. This round gets rid of the 4GB limit. For files > 4GB, gzip stores just the last 32 bits of the file size, and now we play along with that too. Tested by hand (on a 6+GB file) on Win2K. Boosting from 2GB to 4GB was arguably enough "a bugfix". Going beyond that smells more like "new feature" to me.
-
- 04 Kas, 2002 1 kayıt (commit)
-
-
Tim Peters yazdı
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.
-
- 06 Agu, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 29 May, 2002 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
Patch 560023 adding docstrings. 2.2 Candidate (after verifying modules were not updated after 2.2).
-
- 23 May, 2002 1 kayıt (commit)
-
-
Skip Montanaro yazdı
closes patch #536278.
-
- 16 Nis, 2002 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 07 Nis, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 20 Mar, 2002 1 kayıt (commit)
-
-
Neil Schemenauer yazdı
-
- 11 Mar, 2002 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
Use IOErrors where file objects use them.
-
- 13 Eki, 2001 1 kayıt (commit)
-
-
Fred Drake yazdı
-
- 13 Agu, 2001 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
Remove unused variable and import
-
- 09 Agu, 2001 2 kayıt (commit)
-
-
Tim Peters yazdı
-
Martin v. Löwis yazdı
-
- 20 Mar, 2001 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
to check for them (instead of calling them and then ignoring an IOError)
-
- 21 Şub, 2001 1 kayıt (commit)
-
-
Jack Jansen yazdı
on the Mac is negativevalues > 0x80000000). Fixed.
-
- 09 Şub, 2001 1 kayıt (commit)
-
-
Eric S. Raymond yazdı
-
- 23 Ock, 2001 1 kayıt (commit)
-
-
Skip Montanaro yazdı
fixed typo in ihooks docstring
-
- 14 Ock, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 29 Tem, 2000 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
.readlines() methods. Inspired by a patch from Wolfgang Grafen, though this version of the patch was completely rewritten from his code.
-
- 08 May, 2000 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
called. catch the resulting AttributeError and exit cleanly.
-
- 04 Şub, 2000 2 kayıt (commit)
-
-
Guido van Rossum yazdı
*this* set of patches is Ka-Ping's final sweep: The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
-
Guido van Rossum yazdı
who writes: Here is batch 2, as a big collection of CVS context diffs. Along with moving comments into docstrings, i've added a couple of missing docstrings and attempted to make sure more module docstrings begin with a one-line summary. I did not add docstrings to the methods in profile.py for fear of upsetting any careful optimizations there, though i did move class documentation into class docstrings. The convention i'm using is to leave credits/version/copyright type of stuff in # comments, and move the rest of the descriptive stuff about module usage into module docstrings. Hope this is okay.
-
- 02 Şub, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
the default arg for read() is -1, not None, and readlines() has an optional argument (which for now is ignored).
-
- 06 Eyl, 1999 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
Skip Montanaro's return-value patches.
-
- 10 Agu, 1999 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
object, if required.
-
- 12 Nis, 1999 1 kayıt (commit)
-
-
Guido van Rossum yazdı
1. Jack Jansen reports that on the Mac, the time may be negative, and solves this by adding a write32u() function that writes an unsigned long. 2. On 64-bit platforms the CRC comparison fails; I've fixed this by casting both values to be compared to "unsigned long" i.e. modulo 0x100000000L.
-
- 05 Nis, 1999 2 kayıt (commit)
-
-
Fred Drake yazdı
-
Fred Drake yazdı
support. (Based on comment on the documentation by Bernhard Reiter <bernhard@csd.uwm.edu>).
-
- 25 Mar, 1999 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
allow using the 'a' flag as a mode for opening a GzipFile. gzip files, surprisingly enough, can be concatenated and then decompressed; the effect is to concatenate the two chunks of data. If we support it on writing, it should also be supported on reading. This *wasn't* trivial, and required rearranging the code in the reading path, particularly the _read() method. Raise IOError instead of RuntimeError in two cases, 'Not a gzipped file' and 'Unknown compression method'
-
- 23 Mar, 1999 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
-
- 03 Agu, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
readlines() to behave like it should (return lines with "\n" appended).
-
- 13 May, 1998 1 kayıt (commit)
-
-
Jeremy Hylton yazdı
problem was a couple of bugs in the readline implementation. 1. Include the '\n' in the string returned by readline 2. Bug calculating new buffer size in _unread Also remove unncessary import of StringIO
-