This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients methane, pablogsal, pitrou, serhiy.storchaka, vstinner
Date 2020-05-26.15:01:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
"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 */
Date User Action Args
2020-05-26 15:01:57vstinnersetrecipients: + vstinner, pitrou, methane, serhiy.storchaka, pablogsal
2020-05-26 15:01:57vstinnersetmessageid: <>
2020-05-26 15:01:57vstinnerlinkissue40781 messages
2020-05-26 15:01:57vstinnercreate