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: mro_trait can be unbound when the class is not in mro #824

Merged
merged 1 commit into from
Jan 8, 2023

Conversation

maartenbreddels
Copy link
Contributor

Closes #823

Not so happy that it doesn't include a test yet, and I think a linter should have picked up this mistake. @blink1073 do you know why CI didn't see this lint issue?

@blink1073
Copy link
Contributor

Unbound locals are apparently tricky to catch with a linter, I found issues on both mypy and pyflakes where they punt on it.

Copy link
Contributor

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I'll release this tomorrow.

@blink1073 blink1073 merged commit 1881420 into ipython:main Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug in version 5.8.0
2 participants