bpo-38392, bpo-38426: Fix a compiler warning in gcmodule.c.
Fix also a typo in PYMEM_DEADBYTE macro comment.
- PYMEM_DEADBYTE dead (newly freed) memory
- PYMEM_FORBIDDENBYTE: untouchable bytes at each end of a block
- Byte patterns 0xCB, 0xBB and 0xFB have been replaced with 0xCD, 0xDD and
+ Byte patterns 0xCB, 0xDB and 0xFB have been replaced with 0xCD, 0xDD and
0xFD to use the same values than Windows CRT debug malloc() and free().
If modified, _PyMem_IsPtrFreed() should be updated as well. */
#define PYMEM_CLEANBYTE 0xCD
_PyObject_Dump(FROM_GC(g));
}
+
+#ifdef Py_DEBUG
static int
visit_validate(PyObject *op, void *parent_raw)
{
}
return 0;
}
+#endif
/* extension modules might be compiled with GC support so these