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

gh-117482: Simplify the Fix For Builtin Types Slot Wrappers #121882

Conversation

ericsnowcurrently
Copy link
Member

@ericsnowcurrently ericsnowcurrently commented Jul 16, 2024

In gh-121602, I applied a fix to a builtin types initialization bug. That fix made sense in the context of some broader future changes, but introduced a little bit of extra complexity. There are a few tricky spots to iron out so the simplest thing to do in the short term is to revert that change and replace it with one that is more focused.

That's this PR. It's essentially the implementation of an idea that @markshannon pointed out to me. Note that this change would be simpler if we didn't have to deal with compatibility for builtin types that explicitly inherit different slots.

@ericsnowcurrently
Copy link
Member Author

!buildbot iOS

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @ericsnowcurrently for commit ecb14da 🤖

The command will test the builders whose names match following regular expression: iOS

The builders matched are:

  • iOS ARM64 Simulator PR

@ericsnowcurrently ericsnowcurrently changed the title Simplify builtin static type add operators main gh-117482: Simplify the Fix For Builtin Types Slot Wrappers Jul 16, 2024
@ericsnowcurrently
Copy link
Member Author

The commit log churn in main isn't worth it, so I'll focus on applying this to just 3.13 and 3.12.

@ericsnowcurrently ericsnowcurrently deleted the simplify-builtin-static-type-add-operators-main branch July 24, 2024 18:04
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.

None yet

2 participants