diff -r 9ceac471bd8c Lib/zipfile.py --- a/Lib/zipfile.py Thu Mar 22 22:40:44 2012 -0400 +++ b/Lib/zipfile.py Tue Mar 27 14:23:08 2012 +0300 @@ -731,6 +731,7 @@ self._RealGetContents() # seek to start of directory and overwrite self.fp.seek(self.start_dir, 0) + self._didModify = True except BadZipFile: # file is not a zip file, just append self.fp.seek(0, 2)

AltStyle によって変換されたページ (->オリジナル) /