Commit 410ec15
Always reconfigure stdout
On Windows sys.stdout uses the surrogateescape error handler, which fails
on lone surrogates produced by os.fsdecode().
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 916efb5 commit 410ec15
2 files changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3463 | 3463 | | |
3464 | 3464 | | |
3465 | 3465 | | |
3466 | | - | |
3467 | | - | |
| 3466 | + | |
3468 | 3467 | | |
3469 | 3468 | | |
3470 | 3469 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
0 commit comments