KEMBAR78
gh-117482: Simplify the Fix For Builtin Types Slot Wrappers by ericsnowcurrently · Pull Request #121882 · python/cpython · GitHub
Skip to content

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.

2 participants