{{ message }}
Commit 5afbb60
The gai_strerror() and hstrerror() messages were decoded as UTF-8, so
gaierror and herror could be replaced with UnicodeDecodeError if the
message is localized and the locale encoding is not UTF-8.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent 306a35c commit 5afbb60
3 files changed
Lines changed: 33 additions & 2 deletions
File tree
- Lib/test
- Misc/NEWS.d/next/Library
- Modules
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |

0 commit comments