Repository navigation
Conversation
|
Independent CPU verification, at head Repro: a synthetic ASAV (
One thing worth fixing before merge: the PR adds no test, so this is only covered by the above manual run. |
|
Tested on Linux (WSL2 Ubuntu), Python 3.12, CPU only: works, but it's covered by #1438. With |
|
Heads-up before this merges: #1438 (same author area, |
|
Reproduced and confirmed fixed on Windows 11 Home 10.0.26300 (ANSI code page 1252, en-US), Python 3.14.7. I used a synthetic 10-byte file at
AI-assisted (Claude Code). No game files. |
BUILD-401 from the coordination tracker #1380.
tools/saves.pyprints caller-supplied paths after completing work. On Windows, redirected stdout may use the active ANSI code page; strict encoding can raiseUnicodeEncodeErrorwhile printing a path even though the file operation succeeded.This keeps the current output encoding and uses
backslashreplacefor characters it cannot represent, so the command completes and the path remains recoverable. stderr and files written by the tool are unchanged.Validation
python -I -m py_compile tools/saves.pygit diff --checkCI note
The Windows runtime build compiles, but its CTest step currently fails on
d3d12_presentatd.create(true)because the runner has no Vulkan driver. This is the existing TEST-200 issue tracked in #1380 and addressed by the dependent draft #1391; it is separate from this Python change.