Skip to content

[mypyc] Add note about using non-native class to subclass built-in types #19236

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

Merged
merged 5 commits into from
Jun 4, 2025

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Jun 4, 2025

Without the note, it's not clear what's the easiest way forward. Also add a doc link.

Test that subclassing a built-in exception type actually works as suggested by the note.

@JukkaL JukkaL merged commit 9fd55aa into master Jun 4, 2025
13 checks passed
@JukkaL JukkaL deleted the mypyc-builtin-inheritance-note branch June 4, 2025 17:09
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