This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author macdjord
Recipients eryksun, giampaolo.rodola, macdjord
Date 2021-03-08.17:30:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1615224610.17.0.225077111313.issue43431@roundup.psfhosted.org>
In-reply-to
Content
Eryk Sun: Well, I think step 1 should be to update the documentation for Python 3.7 through 3.10 on `subprocess.run()` and `subprocess.TimeoutExpired` to clearly state that `TimeoutExpired.stdout` and `TimeoutExpired.stderr` will be in bytes format even if text mode is set.

If we went with the model of having `stdout_bytes` and attempting to decode into `stdout`, we'd want an option to ignore a trailing decoding error.
History
Date User Action Args
2021-03-08 17:30:10macdjordsetrecipients: + macdjord, giampaolo.rodola, eryksun
2021-03-08 17:30:10macdjordsetmessageid: <1615224610.17.0.225077111313.issue43431@roundup.psfhosted.org>
2021-03-08 17:30:10macdjordlinkissue43431 messages
2021-03-08 17:30:10macdjordcreate