[Python-checkins] commit of r41359 - python/branches/release24-maint/Lib/logging
vinay.sajip@python.org
vinay.sajip at python.org
Mon Oct 31 15:20:57 CET 2005
Author: vinay.sajip
Date: Mon Oct 31 15:20:56 2005
New Revision: 41359
Modified:
python/branches/release24-maint/Lib/logging/__init__.py
Log:
Exception handling now raises KeyboardInterrupt and SystemExit rather than passing to handleError
Modified: python/branches/release24-maint/Lib/logging/__init__.py
==============================================================================
--- python/branches/release24-maint/Lib/logging/__init__.py (original)
+++ python/branches/release24-maint/Lib/logging/__init__.py Mon Oct 31 15:20:56 2005
@@ -738,6 +738,8 @@
except UnicodeError:
self.stream.write(fs % msg.encode("UTF-8"))
self.flush()
+ except (KeyboardInterrupt, SystemExit):
+ raise
except:
self.handleError(record)
More information about the Python-checkins
mailing list