From e3cb5d2e600313000c86838c1cdc278158b7b465 Mon Sep 17 00:00:00 2001 From: Markus Zolliker Date: Fri, 6 Oct 2023 11:04:17 +0200 Subject: [PATCH] frappy.io: change default to retry_first_idn=True Looked at this code again, and wondered why the default is not True. It is far more probable that the programmer just forgets to set this property to True than it would harm to do so. Change-Id: I439aedbdfc9c2b12737e3ce1694e90550ddf0e78 Reviewed-on: https://forge.frm2.tum.de/review/c/secop/frappy/+/32270 Tested-by: Jenkins Automated Tests Reviewed-by: Enrico Faulhaber Reviewed-by: Alexander Zaft Reviewed-by: Markus Zolliker --- frappy/io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappy/io.py b/frappy/io.py index 5a59d7c..307fa97 100644 --- a/frappy/io.py +++ b/frappy/io.py @@ -239,7 +239,7 @@ class StringIO(IOBase): a flag to indicate whether the first message should be resent once to avoid data that may still be in the buffer to garble the message''', - datatype=BoolType(), default=False) + datatype=BoolType(), default=True) def _convert_eol(self, value): if isinstance(value, str):