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 nessita
Recipients alexis, eric.araujo, nessita, tarek
Date 2011-03-14.16:19:38
SpamBayes Score 2.5744717e-05
Marked as misclassified No
Message-id <1300119578.93.0.647722087652.issue11501@psf.upfronthosting.co.za>
In-reply-to
Content
When creating a zipfile, the code:

zip = zipfile.ZipFile(zip_filename, "w",
                      compression=zipfile.ZIP_DEFLATED)

does not handle the potential RuntimeError casued by:

"If ZIP_DEFLATED is specified but the zlib module is not available, RuntimeError is also raised."
History
Date User Action Args
2011-03-14 16:19:38nessitasetrecipients: + nessita, tarek, eric.araujo, alexis
2011-03-14 16:19:38nessitasetmessageid: <1300119578.93.0.647722087652.issue11501@psf.upfronthosting.co.za>
2011-03-14 16:19:38nessitalinkissue11501 messages
2011-03-14 16:19:38nessitacreate