mirror of
https://github.com/python/cpython
synced 2026-09-29 11:15:30 +03:00
don't use NDEBUG
This commit is contained in:
parent
01b68fd224
commit
e1cd6c175b
2 changed files with 3 additions and 7 deletions
|
|
@ -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 */
|
||||
|
||||
/*
|
||||
|
|
@ -81,7 +77,7 @@ whose size is determined when the object is allocated.
|
|||
123456789-123456789-123456789-123456789-123456789-123456789-123456789-12
|
||||
*/
|
||||
|
||||
#ifndef NDEBUG
|
||||
#ifdef DEBUG
|
||||
|
||||
/* Turn on heavy reference debugging */
|
||||
#define Py_TRACE_REFS
|
||||
|
|
@ -89,7 +85,7 @@ whose size is determined when the object is allocated.
|
|||
/* Turn on reference counting */
|
||||
#define Py_REF_DEBUG
|
||||
|
||||
#endif /* NDEBUG */
|
||||
#endif /* DEBUG */
|
||||
|
||||
#ifdef Py_TRACE_REFS
|
||||
#define PyObject_HEAD \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue