STINNER Victor <vstin...@python.org> added the comment:

"Recent" changes in builtin Python debug tools.

* In Python 3.9, I removed the "COUNT_ALLOCS" special build: bpo-39489.

* Debug build of Python 3.8 is now ABI compatible with release build: I 
disabled Py_TRACE_REFS macro by default in --with-pydebug build. There is a new 
opt-in --with-trace-refs option for configure. We have a dedicated buildbot to 
ensure that the feature continue to work.

* In Python 3.8, I modified the debug hooks on Python memory allocators to omit 
the serial number by default. It reduces the memory footprint when these hooks 
are used (1 size_t per memory block). Extract of Objects/obmalloc.c:

/* Uncomment this define to add the "serialno" field */
/* #define PYMEM_DEBUG_SERIALNO */

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40781>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to