Skip to content

Conversation

@akx
Copy link

@akx akx commented Dec 12, 2025

This PR follows up on #13166 to use .removesuffix (new in Python 3.9, which looks to be the minimum supported by current pip). This micro-benchmarked to be a tiny bit faster than the preimage.

Copy link
Member

@notatallshaw notatallshaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@akx akx marked this pull request as ready for review December 12, 2025 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants