This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author remi.lapeyre
Recipients Saim Raza, remi.lapeyre, vinay.sajip, xtreak
Date 2019-03-13.11:32:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552476774.44.0.898008138242.issue36272@roundup.psfhosted.org>
In-reply-to
Content
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)
History
Date User Action Args
2019-03-13 11:32:54remi.lapeyresetrecipients: + remi.lapeyre, vinay.sajip, xtreak, Saim Raza
2019-03-13 11:32:54remi.lapeyresetmessageid: <1552476774.44.0.898008138242.issue36272@roundup.psfhosted.org>
2019-03-13 11:32:54remi.lapeyrelinkissue36272 messages
2019-03-13 11:32:54remi.lapeyrecreate