File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -1141,8 +1141,7 @@ always available.
11411141.. data :: platlibdir
11421142
11431143 Name of the platform-specific library directory. It is used to build the
1144- path of platform-specific dynamic libraries and the path of the standard
1145- library.
1144+ path of standard library and the paths of installed extension modules.
11461145
11471146 It is equal to ``"lib" `` on most platforms. On Fedora and SuSE, it is equal
11481147 to ``"lib64" `` on 64-bit platforms which gives the following ``sys.path ``
@@ -1153,8 +1152,10 @@ always available.
11531152 * ``/usr/lib64/pythonX.Y/lib-dynload/ ``:
11541153 C extension modules of the standard library (like the :mod: `errno ` module,
11551154 the exact filename is platform specific)
1156- * ``/usr/lib/pythonX.Y/site-packages `` (always use ``lib ``, not
1155+ * ``/usr/lib/pythonX.Y/site-packages/ `` (always use ``lib ``, not
11571156 :data: `sys.platlibdir `): Third-party modules
1157+ * ``/usr/lib64/pythonX.Y/site-packages/ ``:
1158+ C extension modules of third-party packages
11581159
11591160 .. versionadded :: 3.9
11601161
Original file line number Diff line number Diff line change 552552---
553553
554554Add a new :attr: `sys.platlibdir ` attribute: name of the platform-specific
555- library directory. It is used to build the path of platform-specific dynamic
556- libraries and the path of the standard library. It is equal to ``"lib" `` on
557- most platforms. On Fedora and SuSE, it is equal to ``"lib64" `` on 64-bit
558- platforms.
555+ library directory. It is used to build the path of standard library and the
556+ paths of installed extension modules. It is equal to ``"lib" `` on most
557+ platforms. On Fedora and SuSE, it is equal to ``"lib64" `` on 64-bit platforms.
559558(Contributed by Jan Matějek, Matěj Cepl, Charalampos Stratakis and Victor Stinner in :issue: `1294959 `.)
560559
561560Previously, :attr: `sys.stderr ` was block-buffered when non-interactive. Now
Original file line number Diff line number Diff line change @@ -990,7 +990,7 @@ modules are built.
990990 Add ``--with-platlibdir `` option to the configure script: name of the
991991platform-specific library directory, stored in the new
992992:attr: `sys.platlibdir ` attribute. It is used to build the path of
993- platform-specific dynamic libraries and the path of the standard library. It
993+ platform-specific extension modules and the path of the standard library. It
994994is equal to ``"lib" `` on most platforms. On Fedora and SuSE, it is equal to
995995``"lib64" `` on 64-bit platforms. Patch by Jan Matějek, Matěj Cepl,
996996Charalampos Stratakis and Victor Stinner.
You can’t perform that action at this time.
0 commit comments