forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpo-36722: Style and grammar edits for ABI news entries (pythonGH-12979)
- Loading branch information
Showing
4 changed files
with
24 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 6 additions & 5 deletions
11
Misc/NEWS.d/next/Build/2019-04-09-18-19-43.bpo-36465.-w6vx6.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
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 :func:`sys.getobjects` | ||
function and ``PYTHONDUMPREFS`` environment variable. | ||
Release builds and debug builds are now ABI compatible: defining the | ||
``Py_DEBUG`` macro no longer implies the ``Py_TRACE_REFS`` macro, which | ||
introduces the only ABI incompatibility. The ``Py_TRACE_REFS`` macro, which | ||
adds the :func:`sys.getobjects` function and the :envvar:`PYTHONDUMPREFS` | ||
environment variable, can be set using the new ``./configure --with-trace-refs`` | ||
build option. |
8 changes: 4 additions & 4 deletions
8
Misc/NEWS.d/next/Build/2019-04-25-01-51-52.bpo-21536.ACQkiC.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
On Unix, C extensions are no longer linked to libpython. | ||
|
||
It is now possible to load a C extension built using a shared library Python | ||
with a statically linked Python. | ||
It is now possible for a statically linked Python to load a C extension built | ||
using a shared library Python. | ||
|
||
When Python is embedded, ``libpython`` must not be loaded with ``RTLD_LOCAL``, | ||
but ``RTLD_GLOBAL`` instead. Previously, using ``RTLD_LOCAL``, it was already | ||
not possible to load C extensions which were not linked to ``libpython``, like | ||
C extensions of the standard library built by the ``*shared*`` section of | ||
not possible to load C extensions which were not linked to ``libpython``, such | ||
as C extensions of the standard library built by the ``*shared*`` section of | ||
``Modules/Setup``. | ||
|
||
distutils, python-config and python-config.py have been modified. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters