mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 17:18:38 +00:00
Under `python -I` on Windows a redirected stdout is strict ANSI, so printing a path with a character outside the code page raised UnicodeEncodeError. tools/ guards against it at the start of every __main__ block and tests/test_tool_stdout_encoding.py enforces that, but only for tools/. viewer/serve.py died before it started serving and scripts/audit_shader4_regs.py exited 1 after writing its report; bench_wave64.py and run_gpu_tests.py print the same kind of output unguarded. All four get the guard, and the check now covers scripts/ and viewer/. Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016ABh36DZ2sZNq3ChN6EZJs