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 aa292f9 commit ee9e485Copy full SHA for ee9e485
2 files changed
Lib/logging/handlers.py
@@ -808,8 +808,6 @@ def emit(self, record):
808
prio = prio.encode('utf-8')
809
# Message is a string. Convert to bytes as required by RFC 5424
810
msg = msg.encode('utf-8')
811
- if codecs:
812
- msg = codecs.BOM_UTF8 + msg
813
msg = prio + msg
814
try:
815
if self.unixsocket:
Misc/NEWS
@@ -43,6 +43,8 @@ Core and Builtins
43
Library
44
-------
45
46
+- Issue #14452: SysLogHandler no longer inserts a UTF-8 BOM into the message.
47
+
48
- Issue #13496: Fix potential overflow in bisect.bisect algorithm when applied
49
to a collection of size > sys.maxsize / 2.
50
0 commit comments