SF patch #756996: Bare except in ZipFile.testzip()
(Contributed by Steven Taschuk)
Replaces a bare except that caused all errors to be mis-reported as
archive errors.
Added a related NEWS item.
diff --git a/Misc/NEWS b/Misc/NEWS
index ab04a40..08ca40f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -83,6 +83,10 @@
Library
-------
+- ZipFile.testzip() now only traps BadZipfile exceptions. Previously,
+ a bare except caught to much and reported all errors as a problem
+ in the archive.
+
- The logging module now has a new function, makeLogRecord() making
LogHandler easier to interact with DatagramHandler and SocketHandler.