mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:45:53 +01:00
[PR #948] [MERGED] native_pso_hashes: guard stdout like every other tool #986
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#986
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/948
Author: @barkodr
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @aslan2142
Base:
main← Head:fix/native-pso-stdout📝 Commits (1)
58263f6native_pso_hashes: guard stdout like every other tool📊 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: claiming: tools/native_pso_hashes.py has no stdout errors="replace" guard (added in
62a9588), so test_tool_stdout_encoding fails on main. Tools only. AI-assisted.What and why
tools/native_pso_hashes.pywas the only tool whose__main__block did not seterrors="replace"on stdout, sotests/test_tool_stdout_encoding.pyfailed onmain. It now starts its__main__block with the same guard as the other tools. Bram's116de82f6already fixed--help, so this pull request is only the stdout guard.Tested
On macOS 26.6.2 with Python 3.12.16 and on Ubuntu 26.04 (WSL2) with Python 3.14.4, from the checkout root with
python -I:tests/test_native_pso_hashes.py,tests/test_tool_stdout_encoding.py,tests/test_tool_startup.py,tests/test_text_write_line_endings.pyandtests/test_docs_python_deps.pyall pass on both.test_tool_stdout_encoding.pyfails onmainwith onlytools/native_pso_hashes.pylisted and passes on this branch.GPUs tested: none (no GPU code changed)
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.