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 <>
The following patch fixes the issue and raise RecursionError as expecting without core dump:

diff --git a/Lib/logging/ b/Lib/logging/
index b4659af7cc..7457549cb9 100644
--- a/Lib/logging/
+++ b/Lib/logging/
@@ -1094,6 +1094,8 @@ class StreamHandler(Handler):
             # issue 35046: merged two stream.writes into one.
             stream.write(msg + self.terminator)
+        except RecursionError as e:
+            raise
         except Exception:
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: <>
2019-03-13 11:32:54remi.lapeyrelinkissue36272 messages
2019-03-13 11:32:54remi.lapeyrecreate