Skip to content

Conversation

@JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Nov 17, 2025

Disable optimization that doesn't work for trait methods. We could probably make the optimization work properly, but it would take significant work, so focus on fixing a regression.

Fixes mypyc/mypyc#1141. #20044 was a previous fix attempt that fixes some other use cases, but it didn't address traits.

@JukkaL JukkaL merged commit 0c6593b into master Nov 18, 2025
14 checks passed
@JukkaL JukkaL deleted the mypyc-fix-trait-gen branch November 18, 2025 10:47
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.

TypeError with async methods and inheritance

4 participants