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 eric.araujo
Recipients alexis, eric.araujo, ezio.melotti, nessita, tarek
Date 2011-03-14.20:55:51
SpamBayes Score 1.1192292e-10
Marked as misclassified No
Message-id <1300136152.46.0.324779273011.issue11501@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks.  One question: why not using a clause like “if zlib is not None” instead of catching a RuntimeError?  The if test looks more specific to me, whereas the RuntimeError might come from something else, and thus shouldn’t always e ignored.

In the patch function, I would not use assert but hasattr and a real exception (so that the behavior does not change when run under python -O).
History
Date User Action Args
2011-03-14 20:55:52eric.araujosetrecipients: + eric.araujo, tarek, ezio.melotti, nessita, alexis
2011-03-14 20:55:52eric.araujosetmessageid: <1300136152.46.0.324779273011.issue11501@psf.upfronthosting.co.za>
2011-03-14 20:55:51eric.araujolinkissue11501 messages
2011-03-14 20:55:51eric.araujocreate