Skip to content

Use mp_arg_validate_type for keyword args #5452

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

Merged
merged 1 commit into from
Oct 10, 2021
Merged

Use mp_arg_validate_type for keyword args #5452

merged 1 commit into from
Oct 10, 2021

Conversation

microdev1
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

Thanks for doing this!

I have a not-yet submitted PR that uses the other validators, and uses %q where possibe. I started with all the modules in the smallest SAMD21 builds, hoping to save a few hundred bytes. Unfortunately, it is a few steps forward and a few steps back in many cases, and so far it is only saving a couple of dozen bytes. @jepler had a similar experience.

Diff is main...dhalbert:arg-validation-updates

Even if it doesn't save space, it is more uniform.

@jepler jepler merged commit db20e05 into adafruit:main Oct 10, 2021
@microdev1 microdev1 deleted the patch branch October 17, 2021 02:36
@microdev1 microdev1 restored the patch branch October 17, 2021 02:36
@microdev1 microdev1 deleted the patch branch October 17, 2021 02:37
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.

3 participants