8000 gh-118824: Remove deprecated `master_open` and `slave_open` from `pty` by sobolevn · Pull Request #118826 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-118824: Remove deprecated master_open and slave_open from pty #118826

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
  • Loading branch information
sobolevn and hugovk authored May 28, 2024
commit c73b3252633c47bd2a3e3960576453df9b2c9d1f
4 changes: 3 additions & 1 deletion Doc/whatsnew/3.14.rst
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,10 @@ pathlib
pty
___

* Remove deprecated ``pty.master_open`` and ``pty.slave_open``.
* Remove deprecated :func:`!pty.master_open` and :func:`!pty.slave_open`.
They had previously raised a :exc:`DeprecationWarning` since Python 3.12.
Use :func:`pty.openpty` instead.
(Contributed by Nikita Sobolev in :gh:`118824`.)

sqlite3
-------
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
Remove deprecated ``pty.master_open`` and ``pty.slave_open``.
Remove deprecated :func:`!pty.master_open` and :func:`!pty.slave_open`.
Use :func:`pty.openpty` instead.
Patch by Nikita Sobolev.
0