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
b4e59e9d
Kaydet (Commit)
b4e59e9d
authored
Nis 16, 2012
tarafından
Vinay Sajip
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Closes #14452: remove BOM insertion code.
üst
b206a80d
ee9e485c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
handlers.py
Lib/logging/handlers.py
+1
-1
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/logging/handlers.py
Dosyayı görüntüle @
b4e59e9d
...
@@ -850,7 +850,7 @@ class SysLogHandler(logging.Handler):
...
@@ -850,7 +850,7 @@ 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'
)
msg
=
prio
+
BOM_UTF8
+
msg
msg
=
prio
+
msg
try
:
try
:
if
self
.
unixsocket
:
if
self
.
unixsocket
:
try
:
try
:
...
...
Misc/NEWS
Dosyayı görüntüle @
b4e59e9d
...
@@ -36,6 +36,8 @@ Core and Builtins
...
@@ -36,6 +36,8 @@ Core and Builtins
Library
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 #14386: Expose the dict_proxy internal type as types.MappingProxyType.
- Issue #13959: Make imp.reload() always use a module'
s
__loader__
to
perform
- Issue #13959: Make imp.reload() always use a module'
s
__loader__
to
perform
...
...
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