summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Include/Python.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/Include/Python.h b/Include/Python.h
index c0eed94..0f07e36 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -50,11 +50,10 @@
#include <stdlib.h>
#endif
-#ifndef Py_DEBUG
-#ifndef NDEBUG
-#define NDEBUG 1
-#endif
-#endif
+/* CAUTION: Build setups should ensure that NDEBUG is defined on the
+ * compiler command line when building Python in release mode; else
+ * assert() calls won't be removed.
+ */
#include <assert.h>
#include "pyport.h"