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
a788f5ef
Kaydet (Commit)
a788f5ef
authored
Tem 10, 2002
tarafından
Tim Peters
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clarified sys.getobjects() pragmatics.
üst
3e2d18be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
SpecialBuilds.txt
Misc/SpecialBuilds.txt
+11
-6
No files found.
Misc/SpecialBuilds.txt
Dosyayı görüntüle @
a788f5ef
...
@@ -42,12 +42,17 @@ Py_TRACE_REFS implies Py_REF_DEBUG.
...
@@ -42,12 +42,17 @@ Py_TRACE_REFS implies Py_REF_DEBUG.
Special gimmicks:
Special gimmicks:
sys.getobjects(max[, type])
sys.getobjects(max[, type])
Return list of the most-recently allocated max objects, most recently
Return list of the (no more than) max most-recently allocated objects,
allocated first in the list, least-recently allocated last in the
most recently allocated first in the list, least-recently allocated
list. max=0 means no limit on list length. If an optional type
last in the list. max=0 means no limit on list length.
object is passed, the list is also restricted to objects of that
If an optional type object is passed, the list is also restricted to
type. The return list itself, and some temp objects created just
objects of that type.
to call sys.getobjects(), are excluded from the return list.
The return list itself, and some temp objects created just to call
sys.getobjects(), are excluded from the return list. Note that the
list returned is just another object, though, so may appear in the
return list the next time you call getobjects(); note that every
object in the list is kept alive too, simply by virtue of being in
the list.
envar PYTHONDUMPREFS
envar PYTHONDUMPREFS
If this envar exists, Py_Finalize() arranges to print a list of
If this envar exists, Py_Finalize() arranges to print a list of
...
...
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