File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ PyFrameObject * PyFrame_New
7373
7474/* Tuple access macros */
7575
76- #ifdef NDEBUG
76+ #ifndef DEBUG
7777#define GETITEM (v , i ) PyTuple_GET_ITEM((PyTupleObject *)(v), (i))
7878#define GETITEMNAME (v , i ) \
7979 PyString_AS_STRING((PyStringObject *)GETITEM((v), (i)))
Original file line number Diff line number Diff line change @@ -28,10 +28,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2828
2929******************************************************************/
3030
31- #ifndef DEBUG
32- #define NDEBUG
33- #endif
34-
3531/* Object and type object interface */
3632
3733/*
@@ -81,15 +77,15 @@ whose size is determined when the object is allocated.
8177123456789-123456789-123456789-123456789-123456789-123456789-123456789-12
8278*/
8379
84- #ifndef NDEBUG
80+ #ifdef DEBUG
8581
8682/* Turn on heavy reference debugging */
8783#define Py_TRACE_REFS
8884
8985/* Turn on reference counting */
9086#define Py_REF_DEBUG
9187
92- #endif /* NDEBUG */
88+ #endif /* DEBUG */
9389
9490#ifdef Py_TRACE_REFS
9591#define PyObject_HEAD \
You can’t perform that action at this time.
0 commit comments