Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
0f4ed2cd
Commit
0f4ed2cd
authored
Jan 01, 2017
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #29094: Offsets in a ZIP file created with extern file object and modes
"w" now are relative to the start of the file.
parent
c644d53a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Lib/zipfile.py
Lib/zipfile.py
+1
-1
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/zipfile.py
View file @
0f4ed2cd
...
...
@@ -772,7 +772,7 @@ class ZipFile(object):
# set the modified flag so central directory gets written
# even if no files are added to the archive
self
.
_didModify
=
True
self
.
_start_disk
=
self
.
fp
.
tell
()
self
.
_start_disk
=
0
elif
key
==
'a'
:
try
:
# See if file is a zip file
...
...
Misc/NEWS
View file @
0f4ed2cd
...
...
@@ -15,6 +15,9 @@ Core and Builtins
Library
-------
- Issue #29094: Offsets in a ZIP file created with extern file object and mode
"w" now are relative to the start of the file.
- Issue #13051: Fixed recursion errors in large or resized
curses.textpad.Textbox. Based on patch by Tycho Andersen.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment