This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gnezdo
Recipients alanmcintyre, bialix, gnezdo, gvanrossum, jcea, loewis
Date 2011-05-26.23:43:39
SpamBayes Score 8.9677985e-07
Marked as misclassified No
Message-id <1306453420.58.0.335165588584.issue1526@psf.upfronthosting.co.za>
In-reply-to
Content
There may be a related issue that I still hit with 2.6.5.

% cat /tmp/a.py 
import zipfile
import os

z = zipfile.ZipFile('/tmp/a.zip', 'w')
open("/tmp/a", "w")
os.utime("/tmp/a", (0,0))
z.write("/tmp/a", "a")
% python -V
Python 2.6.5
% uname -mo
x86_64 GNU/Linux
% uname -mor
2.6.32-gg426-generic x86_64 GNU/Linux
% python /tmp/a.py
/usr/lib/python2.6/zipfile.py:1047: DeprecationWarning: struct integer overflow masking is deprecated
  self.fp.write(zinfo.FileHeader())
/usr/lib/python2.6/zipfile.py:1047: DeprecationWarning: 'H' format requires 0 <= number <= 65535
  self.fp.write(zinfo.FileHeader())
/usr/lib/python2.6/zipfile.py:1123: DeprecationWarning: struct integer overflow masking is deprecated
  self.close()
/usr/lib/python2.6/zipfile.py:1123: DeprecationWarning: 'H' format requires 0 <= number <= 65535
  self.close()
History
Date User Action Args
2011-05-26 23:43:40gnezdosetrecipients: + gnezdo, gvanrossum, loewis, jcea, alanmcintyre, bialix
2011-05-26 23:43:40gnezdosetmessageid: <1306453420.58.0.335165588584.issue1526@psf.upfronthosting.co.za>
2011-05-26 23:43:40gnezdolinkissue1526 messages
2011-05-26 23:43:39gnezdocreate