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
441e4ab8
Kaydet (Commit)
441e4ab8
authored
May 23, 1996
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
new debugger symbol names
üst
7f3f2c18
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
classobject.c
Objects/classobject.c
+6
-6
stringobject.c
Objects/stringobject.c
+1
-1
tupleobject.c
Objects/tupleobject.c
+1
-1
No files found.
Objects/classobject.c
Dosyayı görüntüle @
441e4ab8
...
...
@@ -347,8 +347,8 @@ instance_dealloc(inst)
object
*
del
;
/* Call the __del__ method if it exists. First temporarily
revive the object and save the current exception, if any. */
#ifdef TRACE_REFS
/* much too complicated if TRACE_REFS defined */
#ifdef
Py_
TRACE_REFS
/* much too complicated if
Py_
TRACE_REFS defined */
extern
long
ref_total
;
inst
->
ob_type
=
&
Instancetype
;
NEWREF
(
inst
);
...
...
@@ -356,9 +356,9 @@ instance_dealloc(inst)
#ifdef COUNT_ALLOCS
inst
->
ob_type
->
tp_alloc
--
;
/* ditto */
#endif
#else
#else
/* !Py_TRACE_REFS */
INCREF
(
inst
);
#endif
/* TRACE_REFS */
#endif
/*
!Py_
TRACE_REFS */
err_fetch
(
&
error_type
,
&
error_value
,
&
error_traceback
);
if
((
del
=
instance_getattr1
(
inst
,
"__del__"
))
!=
NULL
)
{
object
*
res
=
call_object
(
del
,
(
object
*
)
NULL
);
...
...
@@ -375,13 +375,13 @@ instance_dealloc(inst)
#endif
return
;
/* __del__ added a reference; don't delete now */
}
#ifdef TRACE_REFS
#ifdef
Py_
TRACE_REFS
#ifdef COUNT_ALLOCS
inst
->
ob_type
->
tp_free
--
;
/* compensate for increment in UNREF */
#endif
UNREF
(
inst
);
inst
->
ob_type
=
NULL
;
#endif
/* TRACE_REFS */
#endif
/*
Py_
TRACE_REFS */
DECREF
(
inst
->
in_class
);
XDECREF
(
inst
->
in_dict
);
free
((
ANY
*
)
inst
);
...
...
Objects/stringobject.c
Dosyayı görüntüle @
441e4ab8
...
...
@@ -507,7 +507,7 @@ resizestring(pv, newsize)
return
-
1
;
}
/* XXX UNREF/NEWREF interface should be more symmetrical */
#ifdef REF_DEBUG
#ifdef
Py_
REF_DEBUG
--
_Py_RefTotal
;
#endif
UNREF
(
v
);
...
...
Objects/tupleobject.c
Dosyayı görüntüle @
441e4ab8
...
...
@@ -418,7 +418,7 @@ resizetuple(pv, newsize, last_is_sticky)
if
(
sizediff
==
0
)
return
0
;
/* XXX UNREF/NEWREF interface should be more symmetrical */
#ifdef REF_DEBUG
#ifdef
Py_
REF_DEBUG
--
_Py_RefTotal
;
#endif
UNREF
(
v
);
...
...
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