Skip to content

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

Merged
zooba merged 3 commits into
python:mainfrom
rruuaanng:gh125298
Nov 8, 2024
Merged

gh-125298: Removed misleading os.kill description#125749
zooba merged 3 commits into
python:mainfrom
rruuaanng:gh125298

Conversation

@rruuaanng

@rruuaanng rruuaanng commented Oct 20, 2024

Copy link
Copy Markdown
Contributor

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
@miss-islington-app

Copy link
Copy Markdown

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) <longjinyii@outlook.com>
@bedevere-app

bedevere-app Bot commented Nov 8, 2024

Copy link
Copy Markdown

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) <longjinyii@outlook.com>
@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Nov 8, 2024
@bedevere-app

bedevere-app Bot commented Nov 8, 2024

Copy link
Copy Markdown

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) <longjinyii@outlook.com>
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) <longjinyii@outlook.com>
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