Content-Length: 251778 | pFad | https://github.com/adafruit/circuitpython/pull/10152

93 CIRCUITPY_FULL_BUILD now controls a few more features by dhalbert · Pull Request #10152 · adafruit/circuitpython · GitHub
Skip to content
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

CIRCUITPY_FULL_BUILD now controls a few more features #10152

Merged
merged 1 commit into from
Mar 20, 2025

Conversation

dhalbert
Copy link
Collaborator

@dhalbert dhalbert commented Mar 20, 2025

#10134 added PY_FUNCTION_ATTRS and PY_REVERSE_SPECIAL_METHODS to most of the mpconfigport.h files. It occurred to me that these should be controlled by CIRCUITPY_FULL_BUILD (which is on by default), with some exceptions for "small" full builds on SAMD21.

So this refactors that change to circuitpy_mpconfig.h.

I also turned on MICROPY_PY_BUILTINS_NOTIMPLEMENTED more consistently.

I also went through the language-feature flags in py/mpconfig.h to see if there were new ones we had missed. I may open a sort of "notes" issue about that later.

Testing in draft mode first to see how the sizes work out.

@dhalbert dhalbert force-pushed the use-full-build-for-some-features branch from 9f80a58 to df33271 Compare March 20, 2025 01:50
@dhalbert dhalbert requested review from tannewt, eightycc and jepler March 20, 2025 14:34
@dhalbert dhalbert marked this pull request as ready for review March 20, 2025 16:45
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

Yay for consistency! Thank you!

@tannewt tannewt merged commit a0b482c into adafruit:main Mar 20, 2025
612 checks passed
@dhalbert dhalbert deleted the use-full-build-for-some-features branch March 20, 2025 18: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.

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/adafruit/circuitpython/pull/10152

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy