[Python-bugs-list] [ python-Bugs-489052 ] define NDEBUG for release builds
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 04 Dec 2001 12:13:49 -0800
Bugs item #489052, was opened at 2001-12-04 12:13
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=489052&group_id=5470
Category: Build
Group: Python 2.2
Status: Open
Resolution: None
Priority: 7
Submitted By: Tim Peters (tim_one)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: define NDEBUG for release builds
Initial Comment:
NDEBUG should be defined on the command line during
release builds of Python, so that assert() statements
go away. We tried defining it in Python.h, but that
interferes with extensions linking Python.h (and
created real problems for Robin Dunn).
The Windows build already does this.
The Linux build needs it, and assigned to Fred for
that part.
Fred, please assign to jackjansen when you're done, so
he can consider the Mac build.
Any other build need special treatment?
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=489052&group_id=5470