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
e1cd6c17
Kaydet (Commit)
e1cd6c17
authored
May 24, 1996
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
don't use NDEBUG
üst
01b68fd2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
frameobject.h
Include/frameobject.h
+1
-1
object.h
Include/object.h
+2
-6
No files found.
Include/frameobject.h
Dosyayı görüntüle @
e1cd6c17
...
@@ -73,7 +73,7 @@ PyFrameObject * PyFrame_New
...
@@ -73,7 +73,7 @@ PyFrameObject * PyFrame_New
/* Tuple access macros */
/* Tuple access macros */
#if
def N
DEBUG
#if
ndef
DEBUG
#define GETITEM(v, i) PyTuple_GET_ITEM((PyTupleObject *)(v), (i))
#define GETITEM(v, i) PyTuple_GET_ITEM((PyTupleObject *)(v), (i))
#define GETITEMNAME(v, i) \
#define GETITEMNAME(v, i) \
PyString_AS_STRING((PyStringObject *)GETITEM((v), (i)))
PyString_AS_STRING((PyStringObject *)GETITEM((v), (i)))
...
...
Include/object.h
Dosyayı görüntüle @
e1cd6c17
...
@@ -28,10 +28,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
...
@@ -28,10 +28,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
******************************************************************/
******************************************************************/
#ifndef DEBUG
#define NDEBUG
#endif
/* Object and type object interface */
/* Object and type object interface */
/*
/*
...
@@ -81,7 +77,7 @@ whose size is determined when the object is allocated.
...
@@ -81,7 +77,7 @@ whose size is determined when the object is allocated.
123456789-123456789-123456789-123456789-123456789-123456789-123456789-12
123456789-123456789-123456789-123456789-123456789-123456789-123456789-12
*/
*/
#if
ndef N
DEBUG
#if
def
DEBUG
/* Turn on heavy reference debugging */
/* Turn on heavy reference debugging */
#define Py_TRACE_REFS
#define Py_TRACE_REFS
...
@@ -89,7 +85,7 @@ whose size is determined when the object is allocated.
...
@@ -89,7 +85,7 @@ whose size is determined when the object is allocated.
/* Turn on reference counting */
/* Turn on reference counting */
#define Py_REF_DEBUG
#define Py_REF_DEBUG
#endif
/*
N
DEBUG */
#endif
/* DEBUG */
#ifdef Py_TRACE_REFS
#ifdef Py_TRACE_REFS
#define PyObject_HEAD \
#define PyObject_HEAD \
...
...
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