⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@bluetech
Copy link
Member

The first commit is a small simplification.

The second commit is a rehash of #277 which I still think we should do, it shouldn't disturb any refactoring, I think it's just useless.

The third commit is a slightly ugly micro-optimization but which has a nice impact on the benchmarks so I think we should do it.

This also makes it easier to see that `args` can't end up unbound.
Replaces #277. The extra try has no effect.
It actually adds measurable overhead here -- ~15% according to
testing/benchmark.py (on Python 3.14).
@bluetech
Copy link
Member Author

The coverage changes are due to the de-indentation touch a bunch of lines. I'm not sure how to interpret the "!" lines in the codecov report but we have if TYPE_CHECKING: in our coveragerc so I think it shouldn't affect coverage.

@bluetech bluetech merged commit 584be1e into main Jan 12, 2026
16 of 19 checks passed
@bluetech bluetech deleted the cleanups branch January 12, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants