]> granicus.if.org Git - python/commitdiff
Added entries about removal of some bare except clauses from logging.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Mon, 8 Jan 2007 18:52:36 +0000 (18:52 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Mon, 8 Jan 2007 18:52:36 +0000 (18:52 +0000)
Misc/NEWS

index b1a794b1ae1d48d9da1a14ee7356ef7634e7b225..6653954d944a449a35263e14c90b5b71811d1f04 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -109,6 +109,15 @@ Core and builtins
 Library
 -------
 
+- Bug #411881: logging.handlers: bare except clause removed from
+  SMTPHandler.emit. Now, only ImportError is trapped.
+
+- Bug #411881: logging.handlers: bare except clause removed from
+  SocketHandler.createSocket. Now, only socket.error is trapped.
+
+- Bug #411881: logging: bare except clause removed from LogRecord.__init__.
+  Now, only ValueError, TypeError and AttributeError are trapped.
+
 - Patch #1504073: Fix tarfile.open() for mode "r" with a fileobj argument.
 
 - Patch #1182394 from Shane Holloway: speed up HMAC.hexdigest.