Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b0047d commit b7d6205Copy full SHA for b7d6205
1 file changed
Lib/logging/__init__.py
@@ -1091,8 +1091,8 @@ def emit(self, record):
1091
try:
1092
msg = self.format(record)
1093
stream = self.stream
1094
- stream.write(msg)
1095
- stream.write(self.terminator)
+ # issue 35046: merged two stream.writes into one.
+ stream.write(msg + self.terminator)
1096
self.flush()
1097
except Exception:
1098
self.handleError(record)
0 commit comments