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
0a7d1bb1
Kaydet (Commit)
0a7d1bb1
authored
Agu 11, 2006
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
logging's atexit hook now runs even if the rest of the module has
already been cleaned up.
üst
368c155d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
__init__.py
Lib/logging/__init__.py
+2
-2
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/logging/__init__.py
Dosyayı görüntüle @
0a7d1bb1
...
...
@@ -1337,14 +1337,14 @@ def disable(level):
"""
root
.
manager
.
disable
=
level
def
shutdown
():
def
shutdown
(
handlerList
=
_handlerList
):
"""
Perform any cleanup actions in the logging system (e.g. flushing
buffers).
Should be called at application exit.
"""
for
h
in
_handlerList
[:]:
# was _handlers.keys()
:
for
h
in
handlerList
[:]
:
#errors might occur, for example, if files are locked
#we just ignore them if raiseExceptions is not set
try
:
...
...
Misc/NEWS
Dosyayı görüntüle @
0a7d1bb1
...
...
@@ -38,6 +38,9 @@ Core and builtins
Library
-------
- logging'
s
atexit
hook
now
runs
even
if
the
rest
of
the
module
has
already
been
cleaned
up
.
-
Bug
#
1112549
,
DoS
attack
on
cgi
.
FieldStorage
.
-
Bug
#
1531405
,
format_exception
no
longer
raises
an
exception
if
...
...
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