mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:30:53 +01:00
[PR #883] [CLOSED] native_pso_hashes: stdout gets the errors=replace guard (NATIVE-PSO-HASHES-HELP) #922
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#922
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/883
Author: @Luna-OS
Created: 11/24/2026
Status: ❌ Closed
Base:
main← Head:fix/native-pso-hashes-help📝 Commits (1)
8624b9fnative_pso_hashes: stdout gets the errors=replace guard (NATIVE-PSO-HASHES-HELP)📊 Changes
1 file changed (+4 additions, -0 deletions)
View changed files
📝
tools/native_pso_hashes.py(+4 -0)📄 Description
Claimed in the coordination issue as: NATIVE-PSO-HASHES-HELP (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7135144377)
What and why
tests/test_tool_stdout_encoding.pyrequires every tool's__main__block to seterrors="replace"on stdout, and it fails onmainbecausetools/native_pso_hashes.pyhas no guard:This adds the same guard the other tools use. (The
--helphalf of the original claim landed separately in116de82, so this PR was rebased down to the guard.)Tested
Windows 11, Python 3.13.7, no game files:
tests/test_tool_stdout_encoding.pyOK (was 1 failure),tests/test_native_pso_hashes.pyOK.GPUs tested: n/a
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.