Message337844
The following patch fixes the issue and raise RecursionError as expecting without core dump:
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py
index b4659af7cc..7457549cb9 100644
--- a/Lib/logging/__init__.py
+++ b/Lib/logging/__init__.py
@@ -1094,6 +1094,8 @@ class StreamHandler(Handler):
# issue 35046: merged two stream.writes into one.
stream.write(msg + self.terminator)
self.flush()
+ except RecursionError as e:
+ raise
except Exception:
self.handleError(record) |
|
Date |
User |
Action |
Args |
2019-03-13 11:32:54 | remi.lapeyre | set | recipients:
+ remi.lapeyre, vinay.sajip, xtreak, Saim Raza |
2019-03-13 11:32:54 | remi.lapeyre | set | messageid: <1552476774.44.0.898008138242.issue36272@roundup.psfhosted.org> |
2019-03-13 11:32:54 | remi.lapeyre | link | issue36272 messages |
2019-03-13 11:32:54 | remi.lapeyre | create | |
|