Closes #14452: remove BOM insertion code.

This commit is contained in:
Vinay Sajip 2012-04-16 14:44:31 +01:00
commit b4e59e9dc1
2 changed files with 3 additions and 1 deletions

View file

@ -850,7 +850,7 @@ class SysLogHandler(logging.Handler):
prio = prio.encode('utf-8')
# Message is a string. Convert to bytes as required by RFC 5424
msg = msg.encode('utf-8')
msg = prio + BOM_UTF8 + msg
msg = prio + msg
try:
if self.unixsocket:
try:

View file

@ -36,6 +36,8 @@ Core and Builtins
Library
-------
- Issue #14452: SysLogHandler no longer inserts a UTF-8 BOM into the message.
- Issue #14386: Expose the dict_proxy internal type as types.MappingProxyType.
- Issue #13959: Make imp.reload() always use a module's __loader__ to perform