Skip to content

gh-125298: Removed misleading os.kill description #125749

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 3 commits into from
Nov 8, 2024
Merged

Conversation

rruuaanng
Copy link
Contributor

@rruuaanng rruuaanng commented Oct 20, 2024

cc @zooba


📚 Documentation preview 📚: https://cpython-previews--125749.org.readthedocs.build/

In the document, The Windows version of kill() additionally takes process handles to be killed. actually refers to TerminateProcess, but this is not what users need to know. Users only need to know that the signature of kill is os.kill(pid, sig). So I removed this meaningless description.

@zooba zooba added needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes labels Nov 8, 2024
@zooba zooba enabled auto-merge (squash) November 8, 2024 15:01
@zooba zooba merged commit 75ffac2 into python:main Nov 8, 2024
29 checks passed
@miss-islington-app
Copy link

Thanks @rruuaanng for the PR, and @zooba for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 8, 2024
…honGH-125749)

Windows has not accepted process handles in many releases.
(cherry picked from commit 75ffac2)

Co-authored-by: RUANG (James Roy) <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Nov 8, 2024

GH-126587 is a backport of this pull request to the 3.13 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 8, 2024
…honGH-125749)

Windows has not accepted process handles in many releases.
(cherry picked from commit 75ffac2)

Co-authored-by: RUANG (James Roy) <[email protected]>
@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Nov 8, 2024
@bedevere-app
Copy link

bedevere-app bot commented Nov 8, 2024

GH-126588 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Nov 8, 2024
zooba pushed a commit that referenced this pull request Nov 8, 2024
Windows has not accepted process handles in many releases.
(cherry picked from commit 75ffac2)

Co-authored-by: RUANG (James Roy) <[email protected]>
zooba pushed a commit that referenced this pull request Nov 8, 2024
Windows has not accepted process handles in many releases.
(cherry picked from commit 75ffac2)

Co-authored-by: RUANG (James Roy) <[email protected]>
picnixz pushed a commit to picnixz/cpython that referenced this pull request Dec 8, 2024
…honGH-125749)

Windows has not accepted process handles in many releases.
ebonnal pushed a commit to ebonnal/cpython that referenced this pull request Jan 12, 2025
…honGH-125749)

Windows has not accepted process handles in many releases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants