diff options
| author | xdegaye <xdegaye@gmail.com> | 2019-04-29 09:27:40 +0200 |
|---|---|---|
| committer | Victor Stinner <vstinner@redhat.com> | 2019-04-29 09:27:40 +0200 |
| commit | 254b309c801f82509597e3d7d4be56885ef94c11 (patch) | |
| tree | ae96f759a67bfb4aaea873da5a488fb1e4e80ab6 /Doc | |
| parent | b021ba50284cdfc200b5d18dc4dea80218fcbe91 (diff) | |
| download | cpython-git-254b309c801f82509597e3d7d4be56885ef94c11.tar.gz | |
bpo-21536: On Android, C extensions are linked to libpython (GH-12989)
Diffstat (limited to 'Doc')
| -rw-r--r-- | Doc/distutils/apiref.rst | 3 | ||||
| -rw-r--r-- | Doc/whatsnew/3.8.rst | 12 |
2 files changed, 8 insertions, 7 deletions
diff --git a/Doc/distutils/apiref.rst b/Doc/distutils/apiref.rst index c3cdfc8a0a..1facc0408d 100644 --- a/Doc/distutils/apiref.rst +++ b/Doc/distutils/apiref.rst @@ -279,7 +279,8 @@ the full reference. .. versionchanged:: 3.8 - On Unix, C extensions are no longer linked to libpython. + On Unix, C extensions are no longer linked to libpython except on + Android. .. class:: Distribution diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst index 8d94a9ff54..8df7538f1c 100644 --- a/Doc/whatsnew/3.8.rst +++ b/Doc/whatsnew/3.8.rst @@ -883,12 +883,12 @@ Changes in the Python API Changes in the C API -------------------- -* On Unix, C extensions are no longer linked to libpython. 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 - ``Modules/Setup``. +* On Unix, C extensions are no longer linked to libpython except on + Android. 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 ``Modules/Setup``. * Use of ``#`` variants of formats in parsing or building value (e.g. :c:func:`PyArg_ParseTuple`, :c:func:`Py_BuildValue`, :c:func:`PyObject_CallFunction`, |
