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>
S
Soumendra Ganguly committed
244d4cd9d22d73fb3c0938937c4f435bd68f32d4
Parent: 65b7b6b
Committed by GitHub <noreply@github.com>
on 2/9/2023, 1:00:17 AM