8000 bpo-23750: Document os-system, subprocess. Patch by Martin Panter. by uniocto · Pull Request #26016 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-23750: Document os-system, subprocess. Patch by Martin Panter. #26016

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 2 commits into from
May 11, 2021

Conversation

uniocto
Copy link
Contributor
@uniocto uniocto commented May 10, 2021

@bedevere-bot bedevere-bot added the docs Documentation in the Doc dir label May 10, 2021
Copy link
Member
@Fidget-Spinner Fidget-Spinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thank you for converting the patch to a PR :). Everything looks good (with just a few minor things below).

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* The :func:`call` return value is encoded differently to that of
:func:`os.system`.

* The :func:`os.system` function ignores SIGINT and SIGQUIT signals while
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent. 👍 The bug report used the term "blocked", the correct behavior is "ignored".
Ref - https://man7.org/linux/man-pages/man3/system.3.html

@orsenthil orsenthil added needs backport to 3.9 only security fixes needs backport to 3.10 only security fixes labels May 11, 2021
Copy link
Member
@orsenthil orsenthil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@orsenthil orsenthil merged commit 5f2eb87 into python:main May 11, 2021
@miss-islington
Copy link
Contributor

Thanks @uniocto for the PR, and @orsenthil for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.9.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 11, 2021
…ythonGH-26016)

* Document os-system, subprocess Patch

* Update Doc/library/os.rst

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 5f2eb87)

Co-authored-by: uniocto <serit142sa33go@gmail.com>
@bedevere-bot
Copy link

GH-26040 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed needs backport to 3.10 only security fixes needs backport to 3.9 only security fixes labels May 11, 2021
@bedevere-bot
Copy link

GH-26041 is a backport of this pull request to the 3.9 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 11, 2021
…ythonGH-26016)

* Document os-system, subprocess Patch

* Update Doc/library/os.rst

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 5f2eb87)

Co-authored-by: uniocto <serit142sa33go@gmail.com>
orsenthil pushed a commit that referenced this pull request May 11, 2021
…H-26016) (GH-26040)

* Document os-system, subprocess Patch

* Update Doc/library/os.rst

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 5f2eb87)

Co-authored-by: uniocto <serit142sa33go@gmail.com>

Co-authored-by: uniocto <serit142sa33go@gmail.com>
orsenthil pushed a commit that referenced this pull request May 11, 2021
…H-26016) (GH-26041)

* Document os-system, subprocess Patch

* Update Doc/library/os.rst

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 5f2eb87)

Co-authored-by: uniocto <serit142sa33go@gmail.com>

Co-authored-by: uniocto <serit142sa33go@gmail.com>
@Fidget-Spinner
Copy link
Member

@uniocto congrats on your first pull request getting merged into CPython! Welcome!

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
None yet
Development

Successfully merging this pull request may close these issues.

6 participants
0