buffer_bounds_probe: a non-numeric --waves exits 2 instead of a traceback #80

Closed
Andretuta wants to merge 1 commit from upstream-pr/80 into main
Andretuta commented 2026-11-24 02:14:10 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Andretuta on 2026-11-24T02:14:10Z.


Carried over from old PR 9807 by nino-exe in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/9807, exactly that PR's last commit. All carried-over PRs are listed in #17.
Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it.
nino-exe: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one.


Original description (mentions and #N references are disabled; the numbers refer to the old repository):

A non-numeric --waves (e.g. --waves abc) raised an uncaught ValueError: a traceback and exit 1, where the docstring says bad arguments exit 2. The parse now falls through to the existing check that returns 2. Test: test_waves_that_are_not_numbers (fails on main, passes with the change); tests/test_buffer_bounds_probe.py 6 OK on Windows 11 / Python 3.13. No game files. No other PR touches this file.

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5464784820 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/80). Originally posted by [Andretuta](https://github.com/Andretuta) on 2026-11-24T02:14:10Z. --- > Carried over from **old PR 9807** by `nino-exe` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/9807`, exactly that PR's last commit. All carried-over PRs are listed in #17. > Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it. > `nino-exe`: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one. --- Original description (mentions and `#N` references are disabled; the numbers refer to the old repository): A non-numeric --waves (e.g. --waves abc) raised an uncaught ValueError: a traceback and exit 1, where the docstring says bad arguments exit 2. The parse now falls through to the existing check that returns 2. Test: test_waves_that_are_not_numbers (fails on main, passes with the change); tests/test_buffer_bounds_probe.py 6 OK on Windows 11 / Python 3.13. No game files. No other PR touches this file.
DadaCap commented 2026-11-28 10:33:06 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by DadaCap on 2026-11-28T10:33:06Z.


Thanks for the contribution! This PR was reviewed by the maintainers and is being closed as part of a large batch of closures.

Reason: covered by #2203.

If this looks like a mistake, mention @DadaCap here at any time and it will be looked at again.

AI-assisted (Claude Code, Claude Opus 5.5), posted for the maintainers.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7237969556 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/80#issuecomment-7237969556). Originally posted by [DadaCap](https://github.com/DadaCap) on 2026-11-28T10:33:06Z. --- Thanks for the contribution! This PR was reviewed by the maintainers and is being closed as part of a large batch of closures. Reason: covered by #2203. If this looks like a mistake, mention @DadaCap here at any time and it will be looked at again. AI-assisted (Claude Code, Claude Opus 5.5), posted for the maintainers.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!80
No description provided.