Skip to content

Commit

Permalink
pythongh-104773: PEP 594: Remove the telnetlib module
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed May 23, 2023
1 parent 2e5d8a9 commit 936f74e
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 1,351 deletions.
1 change: 0 additions & 1 deletion Doc/library/superseded.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,5 @@ backwards compatibility. They have been superseded by other modules.
sndhdr.rst
spwd.rst
sunau.rst
telnetlib.rst
uu.rst
xdrlib.rst
262 changes: 0 additions & 262 deletions Doc/library/telnetlib.rst

This file was deleted.

1 change: 0 additions & 1 deletion Doc/tools/.nitignore
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ Doc/library/sys_path_init.rst
Doc/library/sysconfig.rst
Doc/library/syslog.rst
Doc/library/tarfile.rst
Doc/library/telnetlib.rst
Doc/library/tempfile.rst
Doc/library/termios.rst
Doc/library/test.rst
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 @@ -819,7 +819,7 @@ Modules (see :pep:`594`):
* :mod:`sndhdr`
* :mod:`spwd`
* :mod:`sunau`
* :mod:`telnetlib`
* ``telnetlib``
* :mod:`uu`
* :mod:`xdrlib`

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 @@ -102,6 +102,10 @@ Deprecated
Removed
=======

* Remove the ``telnetlib`` module, deprecated in Python 3.11: use the projects
`telnetlib3 <https://pypi.org/project/telnetlib3/>`_
or `Exscript <https://pypi.org/project/Exscript/>`_ instead.
(Contributed by Victor Stinner in :gh:`104773`.)


Porting to Python 3.13
Expand Down
Loading

0 comments on commit 936f74e

Please sign in to comment.