bpo-21536: On Android, C extensions are linked to libpython (GH-12989) · python-sidebar/Python-Documentation-Fork-With-TOC@254b309 (original) (raw)

`@@ -883,12 +883,12 @@ Changes in the Python API

`

883

883

`Changes in the C API

`

884

884

`--------------------

`

885

885

``

886

``

`-

`

887

``


 embedded, ``libpython`` must not be loaded with ``RTLD_LOCAL``, but

888

``


 ``RTLD_GLOBAL`` instead. Previously, using ``RTLD_LOCAL``, it was already not

889

``


 possible to load C extensions which were not linked to ``libpython``, like C

890

``


extensions of the standard library built by the ``*shared*`` section of

891

``


 ``Modules/Setup``.

``

886

`+

`

``

887


Android. When Python is embedded, ``libpython`` must not be loaded with

``

888


 ``RTLD_LOCAL``, but ``RTLD_GLOBAL`` instead. Previously, using

``

889


``RTLD_LOCAL``, it was already not possible to load C extensions which were

``

890


not linked to ``libpython``, like C extensions of the standard library built

``

891


by the ``*shared*`` section of ``Modules/Setup``.

892

892

``

893

893

``` * Use of # variants of formats in parsing or building value (e.g.

```

894

894

`` :c:func:PyArg_ParseTuple, :c:func:Py_BuildValue, :c:func:PyObject_CallFunction,

``