Skip to content

[red-knot] remove fixpoint handling from try_mro query #17622

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

Closed
wants to merge 3 commits into from
Closed

Conversation

carljm
Copy link
Contributor

@carljm carljm commented Apr 25, 2025

Summary

Fixpoint handling isn't really safe for the try_mro query, because if we actually hit a cycle, it can result in an ever-growing MRO that never converges.

No tests or ecosystem projects break from removing this -- I think other changes have improved our behavior here since I added this.

Test Plan

Existing CI.

@carljm carljm added the ty Multi-file analysis & type inference label Apr 25, 2025
Copy link
Contributor

mypy_primer results

No ecosystem changes detected ✅

Base automatically changed from cjm/genmeta to main April 25, 2025 13:55
@carljm carljm closed this May 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ty Multi-file analysis & type inference
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant