]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-85984: Remove legacy Lib/pty.py code. (#92365)
authorSoumendra Ganguly <67527439+8vasu@users.noreply.github.com>
Thu, 9 Feb 2023 01:00:17 +0000 (19:00 -0600)
committerGitHub <noreply@github.com>
Thu, 9 Feb 2023 01:00:17 +0000 (17:00 -0800)
commit244d4cd9d22d73fb3c0938937c4f435bd68f32d4
tree64ddb6c2d286d440f84f7a732eec6f21539df682
parent65b7b6bd23ea789357777f3a0a6f25a79bb04177
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>
Doc/whatsnew/3.12.rst
Lib/pty.py
Misc/NEWS.d/next/Library/2023-02-05-21-40-15.gh-issue-85984.Kfzbb2.rst [new file with mode: 0644]