Message388272
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. |
|
Date |
User |
Action |
Args |
2021-03-08 17:30:10 | macdjord | set | recipients:
+ macdjord, giampaolo.rodola, eryksun |
2021-03-08 17:30:10 | macdjord | set | messageid: <1615224610.17.0.225077111313.issue43431@roundup.psfhosted.org> |
2021-03-08 17:30:10 | macdjord | link | issue43431 messages |
2021-03-08 17:30:10 | macdjord | create | |
|