Skip to content

Commit 936f74e

Browse files
committed
gh-104773: PEP 594: Remove the telnetlib module
1 parent 2e5d8a9 commit 936f74e

File tree

10 files changed

+8
-1351
lines changed

10 files changed

+8
-1351
lines changed

Doc/library/superseded.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,5 @@ backwards compatibility. They have been superseded by other modules.
2727
sndhdr.rst
2828
spwd.rst
2929
sunau.rst
30-
telnetlib.rst
3130
uu.rst
3231
xdrlib.rst

Doc/library/telnetlib.rst

Lines changed: 0 additions & 262 deletions
This file was deleted.

Doc/tools/.nitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ Doc/library/sys_path_init.rst
215215
Doc/library/sysconfig.rst
216216
Doc/library/syslog.rst
217217
Doc/library/tarfile.rst
218-
Doc/library/telnetlib.rst
219218
Doc/library/tempfile.rst
220219
Doc/library/termios.rst
221220
Doc/library/test.rst

Doc/whatsnew/3.12.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ Modules (see :pep:`594`):
819819
* :mod:`sndhdr`
820820
* :mod:`spwd`
821821
* :mod:`sunau`
822-
* :mod:`telnetlib`
822+
* ``telnetlib``
823823
* :mod:`uu`
824824
* :mod:`xdrlib`
825825

Doc/whatsnew/3.13.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ Deprecated
102102
Removed
103103
=======
104104

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

106110

107111
Porting to Python 3.13

0 commit comments

Comments
 (0)