Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
7e9c9d51
Kaydet (Commit)
7e9c9d51
authored
Nis 16, 2012
tarafından
Vinay Sajip
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #14452: remove BOM insertion code.
üst
9945a64a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
handlers.py
Lib/logging/handlers.py
+0
-2
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/logging/handlers.py
Dosyayı görüntüle @
7e9c9d51
...
@@ -821,8 +821,6 @@ class SysLogHandler(logging.Handler):
...
@@ -821,8 +821,6 @@ class SysLogHandler(logging.Handler):
# Message is a string. Convert to bytes as required by RFC 5424
# Message is a string. Convert to bytes as required by RFC 5424
if
type
(
msg
)
is
unicode
:
if
type
(
msg
)
is
unicode
:
msg
=
msg
.
encode
(
'utf-8'
)
msg
=
msg
.
encode
(
'utf-8'
)
if
codecs
:
msg
=
codecs
.
BOM_UTF8
+
msg
msg
=
prio
+
msg
msg
=
prio
+
msg
try
:
try
:
if
self
.
unixsocket
:
if
self
.
unixsocket
:
...
...
Misc/NEWS
Dosyayı görüntüle @
7e9c9d51
...
@@ -48,6 +48,8 @@ Core and Builtins
...
@@ -48,6 +48,8 @@ Core and Builtins
Library
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
-
Issue
#
13496
:
Fix
potential
overflow
in
bisect
.
bisect
algorithm
when
applied
to
a
collection
of
size
>
sys
.
maxsize
/
2.
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