SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 2 Python

bpo-36611: Disable serialno field of debug memory allocators (#12796)

Omit serialno field from debug hooks on Python memory allocators to
reduce the memory footprint by 5%.

Enable tracemalloc to get the traceback where a memory block has been
allocated when a fatal memory error is logged to decide where to put
a breakpoint.

Compile Python with PYMEM_DEBUG_SERIALNO defined to get back the
field.
V
Victor Stinner committed
e8f9acf03484c6c3f163f04a76321419369c28aa
Parent: 0fc91ee
Committed by GitHub <noreply@github.com> on 4/12/2019, 7:54:06 PM