summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSoumendra Ganguly <67527439+8vasu@users.noreply.github.com>2023-02-09 01:00:17 (GMT)
committerGitHub <noreply@github.com>2023-02-09 01:00:17 (GMT)
commit244d4cd9d22d73fb3c0938937c4f435bd68f32d4 (patch)
tree64ddb6c2d286d440f84f7a732eec6f21539df682 /Doc
parent65b7b6bd23ea789357777f3a0a6f25a79bb04177 (diff)
downloadcpython-244d4cd9d22d73fb3c0938937c4f435bd68f32d4.zip
cpython-244d4cd9d22d73fb3c0938937c4f435bd68f32d4.tar.gz
cpython-244d4cd9d22d73fb3c0938937c4f435bd68f32d4.tar.bz2
gh-85984: Remove legacy Lib/pty.py code. (#92365)
Refactored the implementation of pty.fork to use os.login_tty. A DeprecationWarning is now raised by pty.master_open() and pty.slave_open(). They were undocumented and deprecated long long ago in the docstring in favor of pty.openpty. Signed-off-by: Soumendra Ganguly <soumendraganguly@gmail.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Gregory P. Smith <greg@krypto.org>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.12.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst
index b723b70..45a5e50 100644
--- a/Doc/whatsnew/3.12.rst
+++ b/Doc/whatsnew/3.12.rst
@@ -512,6 +512,10 @@ Pending Removal in Python 3.14
:func:`~multiprocessing.set_start_method` APIs to explicitly specify when
your code *requires* ``'fork'``. See :ref:`multiprocessing-start-methods`.
+* :mod:`pty` has two undocumented ``master_open()`` and ``slave_open()``
+ functions that have been deprecated since Python 2 but only gained a
+ proper :exc:`DeprecationWarning` in 3.12. Remove them in 3.14.
+
Pending Removal in Future Versions
----------------------------------