Commit 7b4e7c24 authored by Georg Brandl's avatar Georg Brandl

Patch #1373643: The chunk module can now read chunks larger than

two gigabytes.
parent 2d65b554
...@@ -62,7 +62,7 @@ class Chunk: ...@@ -62,7 +62,7 @@ class Chunk:
if len(self.chunkname) < 4: if len(self.chunkname) < 4:
raise EOFError raise EOFError
try: try:
self.chunksize = struct.unpack(strflag+'l', file.read(4))[0] self.chunksize = struct.unpack(strflag+'L', file.read(4))[0]
except struct.error: except struct.error:
raise EOFError raise EOFError
if inclheader: if inclheader:
......
...@@ -363,6 +363,9 @@ Extension Modules ...@@ -363,6 +363,9 @@ Extension Modules
Library Library
------- -------
- Patch #1373643: The chunk module can now read chunks larger than
two gigabytes.
- Patch #1417555: SimpleHTTPServer now returns Last-Modified headers. - Patch #1417555: SimpleHTTPServer now returns Last-Modified headers.
- Bug #1430298: It is now possible to send a mail with an empty - Bug #1430298: It is now possible to send a mail with an empty
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment