]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36389: Change PyMem_SetupDebugHooks() constants (GH-12782)
authorVictor Stinner <vstinner@redhat.com>
Thu, 11 Apr 2019 11:01:15 +0000 (13:01 +0200)
committerGitHub <noreply@github.com>
Thu, 11 Apr 2019 11:01:15 +0000 (13:01 +0200)
commit4c409beb4c360a73d054f37807d3daad58d1b567
tree03e835b35a2c910cd4793106eee2004212644746
parent536a35b3f14888999f1ffa5be7239d0c26b73d7a
bpo-36389: Change PyMem_SetupDebugHooks() constants (GH-12782)

Modify CLEANBYTE, DEADDYTE and FORBIDDENBYTE constants: use 0xCD,
0xDD and 0xFD, rather than 0xCB, 0xBB and 0xFB, to use the same byte
patterns than Windows CRT debug malloc() and free().
Doc/c-api/memory.rst
Include/internal/pycore_pymem.h
Lib/test/test_capi.py
Misc/NEWS.d/next/C API/2019-04-11-12-20-35.bpo-36389.P9QFoP.rst [new file with mode: 0644]
Objects/object.c
Objects/obmalloc.c