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

Fix bug with multiple generic inheritence #626

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

jcrist
Copy link
Owner

@jcrist jcrist commented Jan 5, 2024

Previously if the same generic base class appeared multiple times in a classes inheritence graph msgspec would error when trying to analyze the class. This PR fixes the bug and adds a test for the behavior.

Fixes #625.

Previously if the same generic base class appeared multiple times in a
classes inheritence graph msgspec would error when trying to analyze the
class. This PR fixes the bug and adds a test for the behavior.
@jcrist jcrist merged commit a5674c1 into main Jan 5, 2024
8 checks passed
@jcrist jcrist deleted the fix-multiple-inheritence-generic-bug branch January 5, 2024 02:19
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.

UnboundLocalError for new_scope
1 participant