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
3f582773
Kaydet (Commit)
3f582773
authored
Agu 08, 2013
tarafından
Vinay Sajip
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Closes #18671: Output more information when logging exceptions occur.
üst
d119b7be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
__init__.py
Lib/logging/__init__.py
+3
-0
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/logging/__init__.py
Dosyayı görüntüle @
3f582773
...
...
@@ -899,6 +899,9 @@ class Handler(Filterer):
# couldn't find the right stack frame, for some reason
sys
.
stderr
.
write
(
'Logged from file
%
s, line
%
s
\n
'
%
(
record
.
filename
,
record
.
lineno
))
# Issue 18671: output logging message and arguments
sys
.
stderr
.
write
(
'Message:
%
r
\n
'
'Arguments:
%
s
\n
'
%
(
record
.
msg
,
record
.
args
))
except
OSError
:
#pragma: no cover
pass
# see issue 5971
finally
:
...
...
Misc/NEWS
Dosyayı görüntüle @
3f582773
...
...
@@ -22,6 +22,8 @@ Core and Builtins
Library
-------
- Issue #18671: Output more information when logging exceptions occur.
- Issue #18621: Prevent the site module'
s
patched
builtins
from
keeping
too
many
references
alive
for
too
long
.
...
...
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