10000 Revert fix for #13807 mistakenly applied in this branch. · python/cpython@2f7b286 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2f7b286

Browse files
committed
Revert fix for #13807 mistakenly applied in this branch.
1 parent f2bf8a6 commit 2f7b286

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/logging/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ def handleError(self, record):
721721
You could, however, replace this with a custom handler if you wish.
722722
The record which was being processed is passed in to this method.
723723
"""
724-
if raiseExceptions and sys.stderr: # see issue 13807
724+
if raiseExceptions:
725725
ei = sys.exc_info()
726726
try:
727727
traceback.print_exception(ei[0], ei[1], ei[2], None, sys.stderr)

0 commit comments

Comments
 (0)
0