@@ -207,14 +207,15 @@ subdirectories).
207207Debug build uses the same ABI as release build
208208-----------------------------------------------
209209
210- Python now uses the same ABI whether it's built in release or debug mode. On
211- Unix, when Python is built in debug mode, it is now possible to load C
212- extensions built in release mode and C extensions built using the stable ABI.
213-
214- Release builds and :ref: `debug builds <debug-build >` are now ABI compatible: defining the
215- ``Py_DEBUG `` macro no longer implies the ``Py_TRACE_REFS `` macro, which
216- introduces the only ABI incompatibility. The ``Py_TRACE_REFS `` macro, which
217- adds the :func: `sys.getobjects ` function and the :envvar: `PYTHONDUMPREFS `
210+ The ABI of Python :ref: `debug builds <debug-build >` is now compatible with
211+ Python release builds. On Unix, when Python is built in debug mode, it is now
212+ possible to load C extensions built in release mode and C extensions built
213+ using the stable ABI. The inverse is not true, as debug builds expose
214+ additional symbols not available in release builds.
215+
216+ Defining the ``Py_DEBUG `` macro no longer implies the ``Py_TRACE_REFS `` macro,
217+ which introduces the only ABI incompatibility. The ``Py_TRACE_REFS `` macro,
218+ which adds the :func: `sys.getobjects ` function and the :envvar: `PYTHONDUMPREFS `
218219environment variable, can be set using the new :option: `./configure
219220--with-trace-refs <--with-trace-refs> ` build option.
220221(Contributed by Victor Stinner in :issue: `36465 `.)
0 commit comments