◐ Shell
clean mode source ↗

gh-87597: Document TimeoutExpired.stdout & .stderr types. by gpshead · Pull Request #97685 · python/cpython

This documents the behavior that has always been the case since timeout
support was introduced in Python 3.3.

@gpshead gpshead marked this pull request as ready for review

September 30, 2022 17:35
That is is None even when people ask to capture output but the process
generated no output is a long standing API wart.

@gpshead gpshead deleted the docs/subprocess-timeoutexpired-bytes branch

September 30, 2022 17:45

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Sep 30, 2022
…nGH-97685)

This documents the behavior that has always been the case since timeout
support was introduced in Python 3.3.
(cherry picked from commit b05dd79)

Co-authored-by: Gregory P. Smith <greg@krypto.org>

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Sep 30, 2022
…nGH-97685)

This documents the behavior that has always been the case since timeout
support was introduced in Python 3.3.
(cherry picked from commit b05dd79)

Co-authored-by: Gregory P. Smith <greg@krypto.org>

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Sep 30, 2022
…nGH-97685)

This documents the behavior that has always been the case since timeout
support was introduced in Python 3.3.
(cherry picked from commit b05dd79)

Co-authored-by: Gregory P. Smith <greg@krypto.org>

miss-islington added a commit that referenced this pull request

Sep 30, 2022
This documents the behavior that has always been the case since timeout
support was introduced in Python 3.3.
(cherry picked from commit b05dd79)

Co-authored-by: Gregory P. Smith <greg@krypto.org>

miss-islington added a commit that referenced this pull request

Sep 30, 2022
This documents the behavior that has always been the case since timeout
support was introduced in Python 3.3.
(cherry picked from commit b05dd79)

Co-authored-by: Gregory P. Smith <greg@krypto.org>

serhiy-storchaka pushed a commit to serhiy-storchaka/cpython that referenced this pull request

Oct 2, 2022
…n#97685)

This documents the behavior that has always been the case since timeout
support was introduced in Python 3.3.

ambv pushed a commit that referenced this pull request

Oct 4, 2022
) (GH-97688)

This documents the behavior that has always been the case since timeout
support was introduced in Python 3.3.
(cherry picked from commit b05dd79)

Co-authored-by: Gregory P. Smith <greg@krypto.org>

hauntsaninja added a commit to hauntsaninja/typeshed that referenced this pull request

Oct 12, 2022
See python/cpython#97685

Thinking we'll go off of mypy_primer to decide if the union type here is
acceptable or not. I'd like us to be able to type this, since the values
being bytes can be surprising if you pass text=True

hauntsaninja added a commit to python/typeshed that referenced this pull request

Oct 12, 2022

pablogsal pushed a commit that referenced this pull request

Oct 22, 2022
This documents the behavior that has always been the case since timeout
support was introduced in Python 3.3.
(cherry picked from commit b05dd79)

Co-authored-by: Gregory P. Smith <greg@krypto.org>