[Python-checkins] cpython (3.1): Revert fix for #13807 mistakenly applied in this branch.

vinay.sajip python-checkins at python.org
Fri Feb 3 19:24:37 CET 2012


http://hg.python.org/cpython/rev/813a34170ac5
changeset:   74744:813a34170ac5
branch:      3.1
parent:      74647:e7706bdaaa0d
user:        Vinay Sajip <vinay_sajip at yahoo.co.uk>
date:        Fri Feb 03 18:23:05 2012 +0000
summary:
  Revert fix for #13807 mistakenly applied in this branch.

files:
  Lib/logging/__init__.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py
--- a/Lib/logging/__init__.py
+++ b/Lib/logging/__init__.py
@@ -721,7 +721,7 @@
         You could, however, replace this with a custom handler if you wish.
         The record which was being processed is passed in to this method.
         """
-        if raiseExceptions and sys.stderr:  # see issue 13807
+        if raiseExceptions:
             ei = sys.exc_info()
             try:
                 traceback.print_exception(ei[0], ei[1], ei[2], None, sys.stderr)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list