Skip to content

[3.11] gh-101640: Make argparse _print_message catch any write error (GH-101802)#104250

Merged
terryjreedy merged 1 commit intopython:3.11from
miss-islington:backport-42f54d1-3.11
May 6, 2023
Merged

[3.11] gh-101640: Make argparse _print_message catch any write error (GH-101802)#104250
terryjreedy merged 1 commit intopython:3.11from
miss-islington:backport-42f54d1-3.11

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 6, 2023

  • In particular, don't exit when trying to print to stderr = None.
  • Add tests

(cherry picked from commit 42f54d1)

Co-authored-by: Oleg Iarygin [email protected]
Co-authored-by: Terry Jan Reedy [email protected]

…ythonGH-101802)

* In particular, don't exit when trying to print to stderr = None.
* Add tests

(cherry picked from commit 42f54d1)

Co-authored-by: Oleg Iarygin <[email protected]>
Co-authored-by: Terry Jan Reedy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants