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 techtonik
Recipients ced, ivb, techtonik
Date 2010-04-06.07:54:43
SpamBayes Score 1.4471337e-09
Marked as misclassified No
Message-id <1270540488.19.0.361649738794.issue6090@psf.upfronthosting.co.za>
In-reply-to
Content
This code is broken in 2.7alpha4 - it doesn't add file at all.

Traceback (most recent call last):
  File "test.py", line 5, in <module>
    new.writestr(zi,'fgh')
  File "C:\~env\Python27\lib\zipfile.py", line 1099, in writestr
    self.fp.write(zinfo.FileHeader())
  File "C:\~env\Python27\lib\zipfile.py", line 342, in FileHeader
    len(filename), len(extra))
struct.error: ushort format requires 0 <= number <= USHRT_MAX
History
Date User Action Args
2010-04-06 07:54:48techtoniksetrecipients: + techtonik, ced, ivb
2010-04-06 07:54:48techtoniksetmessageid: <1270540488.19.0.361649738794.issue6090@psf.upfronthosting.co.za>
2010-04-06 07:54:45techtoniklinkissue6090 messages
2010-04-06 07:54:44techtonikcreate