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
169ded0d
Kaydet (Commit)
169ded0d
authored
Kas 03, 2001
tarafından
Tim Peters
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Finish SF patch 477059: __del__ on new classes vs. GC.
Just doc and NEWS here, about the change in gc.garbage meaning.
üst
7533587d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
libgc.tex
Doc/lib/libgc.tex
+5
-1
NEWS
Misc/NEWS
+5
-0
No files found.
Doc/lib/libgc.tex
Dosyayı görüntüle @
169ded0d
...
...
@@ -83,7 +83,11 @@ The following variable is provided for read-only access:
\begin{datadesc}
{
garbage
}
A list of objects which the collector found to be unreachable
but could not be freed (uncollectable objects). Objects that have
but could not be freed (uncollectable objects). By default, this list
contains only objects with
\method
{__
del
__
()
}
methods.
\footnote
{
Prior to
Python 2.2, the list contained all instance objects in unreachable
cycles, not only those with
\method
{__
del
__
()
}
methods.
}
Objects that have
\method
{__
del
__
()
}
methods and create part of a reference cycle cause
the entire reference cycle to be uncollectable. If
\constant
{
DEBUG
_
SAVEALL
}
is set, then all unreachable objects will
...
...
Misc/NEWS
Dosyayı görüntüle @
169ded0d
...
...
@@ -32,6 +32,11 @@ Core and builtins
Extension modules
- By default, the gc.garbage list now contains only those instances in
unreachable cycles that have __del__ methods; in 2.1 it contained all
instances in unreachable cycles. "Instances" here has been generalized
to include instances of both new-style and old-style classes.
- The socket module defines a new method for socket objects,
sendall(). This is like send() but may make multiple calls to
send() until all data has been sent. Also, the socket function has
...
...
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