projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d65b55
)
Patch #1373643: The chunk module can now read chunks larger than
author
Georg Brandl
<georg@python.org>
Sat, 18 Feb 2006 21:10:56 +0000
(21:10 +0000)
committer
Georg Brandl
<georg@python.org>
Sat, 18 Feb 2006 21:10:56 +0000
(21:10 +0000)
two gigabytes.
Lib/chunk.py
patch
|
blob
|
history
Misc/NEWS
patch
|
blob
|
history
diff --git
a/Lib/chunk.py
b/Lib/chunk.py
index bda965fd6f0a2b5a56abfc76bd24d62e482a3bb9..a8fbc1051f3e44794427408fa0c4dbc89b3c9103 100644
(file)
--- a/
Lib/chunk.py
+++ b/
Lib/chunk.py
@@
-62,7
+62,7
@@
class Chunk:
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:
diff --git
a/Misc/NEWS
b/Misc/NEWS
index 073ef6ce8c01ccbc4f7ff43021a6d068e0254477..619549d722cfac71b1edf9a9874a29d0b17e5fb3 100644
(file)
--- a/
Misc/NEWS
+++ b/
Misc/NEWS
@@
-363,6
+363,9
@@
Extension Modules
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