From: Raymond Hettinger Date: Sat, 27 Jul 2013 06:14:22 +0000 (-0700) Subject: Assertions key off NDEBUG X-Git-Tag: v3.4.0a1~61 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3223dd5c223d24706eb20fa1a46d6057dbdc826c;p=thirdparty%2FPython%2Fcpython.git Assertions key off NDEBUG --- diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c index 3ff1d1fc7e37..1f583b8c78df 100644 --- a/Modules/_collectionsmodule.c +++ b/Modules/_collectionsmodule.c @@ -61,7 +61,7 @@ typedef struct BLOCK { * block is freed leaving another existing block as the new endpoint. */ -#ifdef Py_DEBUG +#ifndef NDEBUG #define MARK_END(link) link = NULL; #define CHECK_END(link) assert(link == NULL); #define CHECK_NOT_END(link) assert(link != NULL);