Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
7e9c9d51
Commit
7e9c9d51
authored
Apr 16, 2012
by
Vinay Sajip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #14452: remove BOM insertion code.
parent
9945a64a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Lib/logging/handlers.py
Lib/logging/handlers.py
+0
-2
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/logging/handlers.py
View file @
7e9c9d51
...
...
@@ -821,8 +821,6 @@ class SysLogHandler(logging.Handler):
# Message is a string. Convert to bytes as required by RFC 5424
if
type
(
msg
)
is
unicode
:
msg
=
msg
.
encode
(
'utf-8'
)
if
codecs
:
msg
=
codecs
.
BOM_UTF8
+
msg
msg
=
prio
+
msg
try
:
if
self
.
unixsocket
:
...
...
Misc/NEWS
View file @
7e9c9d51
...
...
@@ -48,6 +48,8 @@ Core and Builtins
Library
-------
-
Issue
#
14452
:
SysLogHandler
no
longer
inserts
a
UTF
-
8
BOM
into
the
message
.
-
Issue
#
13496
:
Fix
potential
overflow
in
bisect
.
bisect
algorithm
when
applied
to
a
collection
of
size
>
sys
.
maxsize
/
2.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment