mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Documented PYMALLOC_DEBUG. This completes primary coverage of all the
"special builds" I ever use. If you use others, document them here, or don't be surprised if I rip out the code for them <0.5 wink>.
This commit is contained in:
parent
e4523c46b9
commit
889f61dcfb
2 changed files with 53 additions and 1 deletions
|
@ -881,7 +881,7 @@ PyObject_Free(void *p)
|
|||
#undef DEADBYTE
|
||||
#undef FORBIDDENBYTE
|
||||
#define CLEANBYTE 0xCB /* clean (newly allocated) memory */
|
||||
#define DEADBYTE 0xDB /* deed (newly freed) memory */
|
||||
#define DEADBYTE 0xDB /* dead (newly freed) memory */
|
||||
#define FORBIDDENBYTE 0xFB /* untouchable bytes at each end of a block */
|
||||
|
||||
static ulong serialno = 0; /* incremented on each debug {m,re}alloc */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue