Skip to content

Commit

Permalink
pythongh-104773: PEP 594: Remove the pipes module
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed May 24, 2023
1 parent c45701e commit f5e9995
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 568 deletions.
103 changes: 0 additions & 103 deletions Doc/library/pipes.rst

This file was deleted.

1 change: 0 additions & 1 deletion Doc/library/superseded.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ backwards compatibility. They have been superseded by other modules.
nntplib.rst
optparse.rst
ossaudiodev.rst
pipes.rst
spwd.rst
sunau.rst
uu.rst
Expand Down
2 changes: 1 addition & 1 deletion Doc/whatsnew/3.11.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1731,7 +1731,7 @@ Modules
slated for removal in Python 3.13:

+---------------------+---------------------+---------------------+---------------------+---------------------+
| :mod:`aifc` | :mod:`chunk` | :mod:`msilib` | :mod:`pipes` | :mod:`!telnetlib` |
| :mod:`aifc` | :mod:`chunk` | :mod:`msilib` | :mod:`!pipes` | :mod:`!telnetlib` |
+---------------------+---------------------+---------------------+---------------------+---------------------+
| :mod:`audioop` | :mod:`crypt` | :mod:`nis` | :mod:`!sndhdr` | :mod:`uu` |
+---------------------+---------------------+---------------------+---------------------+---------------------+
Expand Down
2 changes: 1 addition & 1 deletion Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ Modules (see :pep:`594`):
* :mod:`nis`
* :mod:`nntplib`
* :mod:`ossaudiodev`
* :mod:`pipes`
* :mod:`!pipes`
* :mod:`!sndhdr`
* :mod:`spwd`
* :mod:`sunau`
Expand Down
4 changes: 4 additions & 0 deletions Doc/whatsnew/3.13.rst
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ Removed
<https://pypi.org/project/python-magic/>`_ instead.
(Contributed by Victor Stinner in :gh:`104773`.)

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


Porting to Python 3.13
======================
Expand Down
2 changes: 1 addition & 1 deletion Doc/whatsnew/3.3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1778,7 +1778,7 @@ shlex
-----

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

Expand Down
Loading

0 comments on commit f5e9995

Please sign in to comment.