[prev in list] [next in list] [prev in thread] [next in thread]
List: python-patches
Subject: [Patches] [ python-Patches-1110248 ] patch for gzip.GzipFile.flush()
From: noreply () sourceforge ! net (SourceForge ! net)
Date: 2005-02-27 5:36:09
Message-ID: E1D5GA2-0005ce-Fi () sc8-sf-web3 ! sourceforge ! net
[Download RAW message or body]
Patches item #1110248, was opened at 2005-01-26 16:57
Message generated for change (Comment added) made by alanmcintyre
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1110248&group_id=5470
Category: Library (Lib)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: David Schnepper (dschnepper)
Assigned to: Nobody/Anonymous (nobody)
Summary: patch for gzip.GzipFile.flush()
Initial Comment:
Ensure the compress buffer is flushed prior to the
file buffer being flushed when gzip.GzipFile.flush()
is invoked.
Patch for bug 1110242
----------------------------------------------------------------------
Comment By: Alan McIntyre (ESRG) (alanmcintyre)
Date: 2005-02-26 23:36
Message:
Logged In: YES
user_id=1115903
This patch appears to fix the bug as described, and running
the regression tests on Python 2.5a0 (CVS HEAD) turns up no
problems. Since the documentation says that a GzipFile
"simulates most of the methods of a file object," I would
expect GzipFile.flush() to act in the way that David
described in the first paragraph of the bug report, and his
patch seems to provide that as far as I can tell.
Note: I only ran tests on Python 2.5a0 built with MSVC .NET
on Windows XP.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1110248&group_id=5470
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic