Skip to content

Commit b7f8259

Browse files
committed
Tweak wording based on feedback
1 parent 75b55f3 commit b7f8259

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

pep-513.rst

+11-11
Original file line numberDiff line numberDiff line change
@@ -215,17 +215,17 @@ libpythonX.Y.so.1
215215
-----------------
216216

217217
Note that ``libpythonX.Y.so.1`` is *not* on the list of libraries that
218-
a ``manylinux1`` extension is allowed to link to. It turns out that
219-
this is unnecessary in almost all cases: the way ELF linking works,
220-
extension modules that are loaded into the interpreter automatically
221-
get access to all of the interpreter's symbols, regardless of whether
222-
or not the extension itself is explicitly linked against
223-
libpython. Furthermore, explicit linking to libpython creates problems
224-
in the common configuration where Python is not built with
225-
``--enable-shared``. In particular, on Debian and Ubuntu systems,
226-
``apt install pythonX.Y`` does not even install ``libpythonX.Y.so.1``,
227-
meaning that any wheel that *did* depend on ``libpythonX.Y.so.1``
228-
could fail to import.
218+
a ``manylinux1`` extension is allowed to link to. Explicitly linking
219+
to ``libpythonX.Y.so.1`` is unnecessary in almost all cases: the way
220+
ELF linking works, extension modules that are loaded into the
221+
interpreter automatically get access to all of the interpreter's
222+
symbols, regardless of whether or not the extension itself is
223+
explicitly linked against libpython. Furthermore, explicit linking to
224+
libpython creates problems in the common configuration where Python is
225+
not built with ``--enable-shared``. In particular, on Debian and
226+
Ubuntu systems, ``apt install pythonX.Y`` does not even install
227+
``libpythonX.Y.so.1``, meaning that any wheel that *did* depend on
228+
``libpythonX.Y.so.1`` could fail to import.
229229

230230
There is one situation where extensions that are linked in this way
231231
can fail to work: if a host program (e.g., ``apache2``) uses

0 commit comments

Comments
 (0)