Skip to content

Conversation

@brice-gros
Copy link
Contributor

@brice-gros brice-gros commented Feb 6, 2018

More parameters were supported by subprocess.check_output() in python 3.6
See:

Now the doc mentions these changes allowing users targeting multiple python 3 versions to be aware not to use these parameters.

https://bugs.python.org/issue6135

@brice-gros brice-gros requested a review from gpshead as a code owner February 6, 2018 08:59
@brice-gros brice-gros changed the title Fixed doc about subprocess.check_output() not mentionning changes in 3.6 Fixed doc about subprocess.check_output() not mentioning changes in 3.6 Feb 6, 2018
@matrixise
Copy link
Member

Thank you for this contribution

  1. Could you improve the documentation, because we don't know the meaning of these new arguments. 2. Could you document them? Thank you
  2. Rebrand your PR to respect "bpo-XYZ: -----" see the documentation : https://devguide.python.org/pullrequest/

Thank you

@gpshead gpshead added docs Documentation in the Doc dir skip issue skip news labels Feb 7, 2018
@gpshead
Copy link
Member

gpshead commented Feb 7, 2018

We can do without a bpo issue on this one, it's a documentation update. Also I would not bother describing the meaning the parameters in the check_output docs. It already refers to run for full details. I added a note to the versionchanged text that refers people to look at run for details on the new parameters.

@gpshead gpshead changed the title Fixed doc about subprocess.check_output() not mentioning changes in 3.6 bpo-6135: Fix subprocess.check_output() doc to mention changes in 3.6 Feb 7, 2018
@gpshead gpshead merged commit fc1ce81 into python:master Feb 7, 2018
@miss-islington
Copy link
Contributor

Thanks @brice-gros for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 7, 2018
…ythonGH-5564)

Fixes the documentation for `subprocess.check_output()` not mentioning that the encoding and errors parameters were added in 3.6.
(cherry picked from commit fc1ce81)

Co-authored-by: Brice Gros <brice-gros@users.noreply.github.com>
@bedevere-bot
Copy link

GH-5572 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 7, 2018
…ythonGH-5564)

Fixes the documentation for `subprocess.check_output()` not mentioning that the encoding and errors parameters were added in 3.6.
(cherry picked from commit fc1ce81)

Co-authored-by: Brice Gros <brice-gros@users.noreply.github.com>
@bedevere-bot
Copy link

GH-5573 is a backport of this pull request to the 3.6 branch.

gpshead pushed a commit that referenced this pull request Feb 7, 2018
…H-5564) (GH-5572)

Fixes the documentation for `subprocess.check_output()` not mentioning that the encoding and errors parameters were added in 3.6.
(cherry picked from commit fc1ce81)

Co-authored-by: Brice Gros <brice-gros@users.noreply.github.com>
gpshead pushed a commit that referenced this pull request Feb 7, 2018
…H-5564) (GH-5573)

Fixes the documentation for `subprocess.check_output()` not mentioning that the encoding and errors parameters were added in 3.6.
(cherry picked from commit fc1ce81)

Co-authored-by: Brice Gros <brice-gros@users.noreply.github.com>
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 issue skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants