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
b817faa4
Kaydet (Commit)
b817faa4
authored
Agu 21, 2013
tarafından
Charles-François Natali
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #15233: Python now guarantees that callables registered with the atexit
module will be called in a deterministic order.
üst
8df3df43
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
atexit.rst
Doc/library/atexit.rst
+8
-7
NEWS
Misc/NEWS
+3
-0
No files found.
Doc/library/atexit.rst
Dosyayı görüntüle @
b817faa4
...
@@ -15,13 +15,14 @@
...
@@ -15,13 +15,14 @@
The :mod:`atexit` module defines a single function to register cleanup
The :mod:`atexit` module defines a single function to register cleanup
functions. Functions thus registered are automatically executed upon normal
functions. Functions thus registered are automatically executed upon normal
interpreter termination. The order in which the functions are called is not
interpreter termination. :mod:`atexit` runs these functions in the *reverse*
defined; if you have cleanup operations that depend on each other, you should
order in which they were registered; if you register ``A``, ``B``, and ``C``,
wrap them in a function and register that one. This keeps :mod:`atexit` simple.
at interpreter termination time they will be run in the order ``C``, ``B``,
``A``.
Note: the functions registered via this module are not called when the program
is killed by a signal not handled by Python, when a Python fatal internal error
**Note:** The functions registered via this module are not called when the
is detected, or when :func:`os._exit` is called.
program is killed by a signal not handled by Python, when a Python fatal
internal error is detected, or when :func:`os._exit` is called.
.. index:: single: exitfunc (in sys)
.. index:: single: exitfunc (in sys)
...
...
Misc/NEWS
Dosyayı görüntüle @
b817faa4
...
@@ -32,6 +32,9 @@ Core and Builtins
...
@@ -32,6 +32,9 @@ Core and Builtins
Library
Library
-------
-------
- Issue #15233: Python now guarantees that callables registered with the atexit
module will be called in a deterministic order.
- Issue #18747: Re-seed OpenSSL'
s
pseudo
-
random
number
generator
after
fork
.
- Issue #18747: Re-seed OpenSSL'
s
pseudo
-
random
number
generator
after
fork
.
A
pthread_atfork
()
child
handler
is
used
to
seeded
the
PRNG
with
pid
,
time
A
pthread_atfork
()
child
handler
is
used
to
seeded
the
PRNG
with
pid
,
time
and
some
stack
data
.
and
some
stack
data
.
...
...
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