]> granicus.if.org Git - python/commitdiff
Issue #29094: Offsets in a ZIP file created with extern file object and modes
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 1 Jan 2017 23:43:02 +0000 (01:43 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 1 Jan 2017 23:43:02 +0000 (01:43 +0200)
"w" and "x" now are relative to the start of the file.

1  2 
Lib/zipfile.py
Misc/NEWS

diff --cc Lib/zipfile.py
Simple merge
diff --cc Misc/NEWS
index 31fdde1d04fcdab9169dc902e4a244e225c68302,a8d4ee8d21df73c8cad8ac54eb850c9921da6f60..516c322958264907b74f48a170e554a84a871a6b
+++ b/Misc/NEWS
@@@ -208,6 -40,15 +208,9 @@@ Core and Builtin
  Library
  -------
  
 -- Issue #29085: Allow random.Random.seed() to use high quality OS randomness
 -  rather than the pid and time.
 -
 -- Issue #29061: Fixed bug in secrets.randbelow() which would hang when given
 -  a negative input.  Patch by Brendan Donegan.
 -
+ - Issue #29094: Offsets in a ZIP file created with extern file object and modes
+   "w" and "x" now are relative to the start of the file.
  - Issue #29079: Prevent infinite loop in pathlib.resolve() on Windows
  
  - Issue #13051: Fixed recursion errors in large or resized