Skip to content

don't strip keyword argument names with --strip-metadata #58412

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JeffBezanson
Copy link
Member

These are used by hasmethod, and in any case including keyword argument symbols is unavoidable so there is no cost to keeping these.

@JeffBezanson JeffBezanson added the bugfix This change fixes an existing bug label May 13, 2025
@JeffBezanson
Copy link
Member Author

Note we don't have any tests for --strip-metadata yet; I'll see if some can be added cheaply.

@JeffBezanson
Copy link
Member Author

Test added.

@JeffBezanson JeffBezanson added the backport 1.12 Change should be backported to release-1.12 label May 21, 2025
These are used by `hasmethod`, and in any case including keyword argument
symbols is unavoidable so there is no cost to keeping these.
@JeffBezanson JeffBezanson force-pushed the jb/nostripkwargnames branch from 1e56cef to 19a8604 Compare May 21, 2025 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 1.12 Change should be backported to release-1.12 bugfix This change fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant