◐ Shell
clean mode source ↗

bpo-36465: Make release and debug ABI compatible by vstinner · Pull Request #12615 · python/cpython

@vstinner vstinner changed the title [WIP] bpo-36465: Py_DEBUG no longer implies Py_TRACE_REFS bpo-36465: Make release and debug ABI compatible

Apr 24, 2019

gvanrossum

pablogsal

pablogsal

pablogsal

Release build and debug build are now ABI compatible: the Py_DEBUG
define no longer implies Py_TRACE_REFS define which introduces the
only ABI incompatibility.

A new "./configure --with-trace-refs" build option is now required to
get Py_TRACE_REFS define which adds sys.getobjects() function and
PYTHONDUMPREFS environment variable.

Changes:

* Add ./configure --with-trace-refs
* Py_DEBUG no longer implies Py_TRACE_REFS

This was referenced

Aug 4, 2022