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
ee9e485c
Kaydet (Commit)
ee9e485c
authored
Nis 16, 2012
tarafından
Vinay Sajip
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Closes #14452: remove BOM insertion code.
üst
aa292f91
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 @
ee9e485c
...
@@ -808,8 +808,6 @@ class SysLogHandler(logging.Handler):
...
@@ -808,8 +808,6 @@ class SysLogHandler(logging.Handler):
prio
=
prio
.
encode
(
'utf-8'
)
prio
=
prio
.
encode
(
'utf-8'
)
# Message is a string. Convert to bytes as required by RFC 5424
# Message is a string. Convert to bytes as required by RFC 5424
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 @
ee9e485c
...
@@ -43,6 +43,8 @@ Core and Builtins
...
@@ -43,6 +43,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