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.
1141
1141
.. data :: platlibdir
1142
1142
1143
1143
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.
1146
1145
1147
1146
It is equal to ``"lib" `` on most platforms. On Fedora and SuSE, it is equal
1148
1147
to ``"lib64" `` on 64-bit platforms which gives the following ``sys.path ``
@@ -1153,8 +1152,10 @@ always available.
1153
1152
* ``/usr/lib64/pythonX.Y/lib-dynload/ ``:
1154
1153
C extension modules of the standard library (like the :mod: `errno ` module,
1155
1154
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
1157
1156
:data: `sys.platlibdir `): Third-party modules
1157
+ * ``/usr/lib64/pythonX.Y/site-packages/ ``:
1158
+ C extension modules of third-party packages
1158
1159
1159
1160
.. versionadded :: 3.9
1160
1161
Original file line number Diff line number Diff line change 552
552
---
553
553
554
554
Add 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.
559
558
(Contributed by Jan Matějek, Matěj Cepl, Charalampos Stratakis and Victor Stinner in :issue: `1294959 `.)
560
559
561
560
Previously, :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.
990
990
Add ``--with-platlibdir `` option to the configure script: name of the
991
991
platform-specific library directory, stored in the new
992
992
: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
994
994
is equal to ``"lib" `` on most platforms. On Fedora and SuSE, it is equal to
995
995
``"lib64" `` on 64-bit platforms. Patch by Jan Matějek, Matěj Cepl,
996
996
Charalampos Stratakis and Victor Stinner.
You can’t perform that action at this time.
0 commit comments