diff options
author | Oleg Iarygin <oleg@arhadthedev.net> | 2023-05-07 02:53:48 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-06 18:53:48 -0400 |
commit | 42f54d1f9244784fec99e0610aa05a5051e594bb (patch) | |
tree | 9261147628e5c1543fc8d3784e34ad4dd5edaa58 /Python/dup2.c | |
parent | 92d8bfffbf377e91d8b92666525cb8700bb1d5e8 (diff) | |
download | cpython-42f54d1f9244784fec99e0610aa05a5051e594bb.tar.gz cpython-42f54d1f9244784fec99e0610aa05a5051e594bb.zip |
gh-101640: Make argparse _print_message catch any write error (#101802)
* In particular, don't exit when trying to print to stderr = None.
* Add tests
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Python/dup2.c')
0 files changed, 0 insertions, 0 deletions