[Python-checkins] r42464 - in python/trunk: Lib/chunk.py Misc/NEWS
georg.brandl
python-checkins at python.org
Sat Feb 18 22:10:57 CET 2006
Author: georg.brandl
Date: Sat Feb 18 22:10:56 2006
New Revision: 42464
Modified:
python/trunk/Lib/chunk.py
python/trunk/Misc/NEWS
Log:
Patch #1373643: The chunk module can now read chunks larger than
two gigabytes.
Modified: python/trunk/Lib/chunk.py
==============================================================================
--- python/trunk/Lib/chunk.py (original)
+++ python/trunk/Lib/chunk.py Sat Feb 18 22:10:56 2006
@@ -62,7 +62,7 @@
if len(self.chunkname) < 4:
raise EOFError
try:
- self.chunksize = struct.unpack(strflag+'l', file.read(4))[0]
+ self.chunksize = struct.unpack(strflag+'L', file.read(4))[0]
except struct.error:
raise EOFError
if inclheader:
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Sat Feb 18 22:10:56 2006
@@ -363,6 +363,9 @@
Library
-------
+- Patch #1373643: The chunk module can now read chunks larger than
+ two gigabytes.
+
- Patch #1417555: SimpleHTTPServer now returns Last-Modified headers.
- Bug #1430298: It is now possible to send a mail with an empty
More information about the Python-checkins
mailing list