Skip to content

Commit a4b7e9d

Browse files
authored
gh-104773: PEP 594: Remove the pipes module (#104848)
1 parent 3e97c00 commit a4b7e9d

File tree

10 files changed

+9
-568
lines changed

10 files changed

+9
-568
lines changed

Doc/library/pipes.rst

-103
This file was deleted.

Doc/library/superseded.rst

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ backwards compatibility. They have been superseded by other modules.
2121
nntplib.rst
2222
optparse.rst
2323
ossaudiodev.rst
24-
pipes.rst
2524
spwd.rst
2625
sunau.rst
2726
uu.rst

Doc/whatsnew/3.11.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1731,7 +1731,7 @@ Modules
17311731
slated for removal in Python 3.13:
17321732

17331733
+---------------------+---------------------+---------------------+---------------------+---------------------+
1734-
| :mod:`aifc` | :mod:`chunk` | :mod:`msilib` | :mod:`pipes` | :mod:`!telnetlib` |
1734+
| :mod:`aifc` | :mod:`chunk` | :mod:`msilib` | :mod:`!pipes` | :mod:`!telnetlib` |
17351735
+---------------------+---------------------+---------------------+---------------------+---------------------+
17361736
| :mod:`audioop` | :mod:`crypt` | :mod:`nis` | :mod:`!sndhdr` | :mod:`uu` |
17371737
+---------------------+---------------------+---------------------+---------------------+---------------------+

Doc/whatsnew/3.12.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ Modules (see :pep:`594`):
898898
* :mod:`nis`
899899
* :mod:`nntplib`
900900
* :mod:`ossaudiodev`
901-
* :mod:`pipes`
901+
* :mod:`!pipes`
902902
* :mod:`!sndhdr`
903903
* :mod:`spwd`
904904
* :mod:`sunau`

Doc/whatsnew/3.13.rst

+4
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@ Removed
153153
<https://pypi.org/project/python-magic/>`_ instead.
154154
(Contributed by Victor Stinner in :gh:`104773`.)
155155

156+
* :pep:`594`: Remove the :mod:`!pipes` module, deprecated in Python 3.11:
157+
use the :mod:`subprocess` module instead.
158+
(Contributed by Victor Stinner in :gh:`104773`.)
159+
156160

157161
Porting to Python 3.13
158162
======================

Doc/whatsnew/3.3.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,7 @@ shlex
17781778
-----
17791779

17801780
The previously undocumented helper function ``quote`` from the
1781-
:mod:`pipes` modules has been moved to the :mod:`shlex` module and
1781+
:mod:`!pipes` modules has been moved to the :mod:`shlex` module and
17821782
documented. :func:`~shlex.quote` properly escapes all characters in a string
17831783
that might be otherwise given special meaning by the shell.
17841784

0 commit comments

Comments
 (0)