]> granicus.if.org Git - python/commit
bpo-36465: Make release and debug ABI compatible (GH-12615)
authorVictor Stinner <vstinner@redhat.com>
Wed, 24 Apr 2019 22:56:28 +0000 (00:56 +0200)
committerGitHub <noreply@github.com>
Wed, 24 Apr 2019 22:56:28 +0000 (00:56 +0200)
commitf4e4703e746067d6630410408d414b11003334d6
treece2b2d0476b42da4c287dd686dbe499c93d92c33
parent888f37bc2826d9ab2cbec6f153e7f58a34785c4a
bpo-36465: Make release and debug ABI compatible (GH-12615)

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
Doc/using/cmdline.rst
Include/object.h
Lib/test/support/__init__.py
Misc/NEWS.d/next/Build/2019-04-09-18-19-43.bpo-36465.-w6vx6.rst [new file with mode: 0644]
configure
configure.ac
pyconfig.h.in