Open LilyFoote opened 3 months ago
@davidhewitt I meant to push this up a while ago, but life got in the way. I'm hoping this is on the right track, but I did find it difficult to be sure my changes were correct - I think a mistake here just leads to testing the wrong combination of features that still passes rather than helpful test failures.
Yes, especially with https://github.com/PyO3/pyo3/issues/2865#issuecomment-2117294485 I think it makes it tricky to control what's actually being built.
Is this ready for review?
Yeah, a review would be helpful. I'll also rebase later today.
👍 will do my best to find a moment to review at earliest opportunity.
Changes to a extension-module
seem suitable for a separate PR. And possibly a first step for this PR would be to add the new feature and the compile error, and not worry about removing existing stuff yet.
@LilyFoote I pushed to this branch a bit of an experiment of "what happens" if we try to make the unlimited-api
feature actually gate functionality, while still using the unlimited FFI symbols for optimizations unless the abi3
feature is enabled. Probably needs some further refinement. I thought it might prompt some discussion if it feels like the right approach.
Thanks! I've been meaning to make progress with this, but life has been getting in the way.
For #2865.