[Python-checkins] r42465 - in python/branches/release24-maint: Lib/chunk.py Misc/NEWS
georg.brandl
python-checkins at python.org
Sat Feb 18 22:11:00 CET 2006
Author: georg.brandl
Date: Sat Feb 18 22:10:59 2006
New Revision: 42465
Modified:
python/branches/release24-maint/Lib/chunk.py
python/branches/release24-maint/Misc/NEWS
Log:
Patch #1373643: The chunk module can now read chunks larger than
two gigabytes.
Modified: python/branches/release24-maint/Lib/chunk.py
==============================================================================
--- python/branches/release24-maint/Lib/chunk.py (original)
+++ python/branches/release24-maint/Lib/chunk.py Sat Feb 18 22:10:59 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/branches/release24-maint/Misc/NEWS
==============================================================================
--- python/branches/release24-maint/Misc/NEWS (original)
+++ python/branches/release24-maint/Misc/NEWS Sat Feb 18 22:10:59 2006
@@ -74,6 +74,9 @@
Library
-------
+- Patch #1373643: The chunk module can now read chunks larger than
+ two gigabytes.
+
- Bug #1430298: It is now possible to send a mail with an empty
return address using smtplib.
More information about the Python-checkins
mailing list