[ty] Respect MRO_NO_OBJECT_FALLBACK policy when looking up symbols on type instances by sharkdp · Pull Request #18312 · astral-sh/ruff (original) (raw)
added the ty
Multi-file analysis & type inference
label
sharkdp changed the title
[ty] Respect MRO_NO_OBJECT_FALLBACK policy when looking up symbols on… [ty] Respect MRO_NO_OBJECT_FALLBACK policy when looking up symbols on type instances
sharkdp added a commit that referenced this pull request
Summary
Fix a bug that involved writes to attributes on union/intersection types that included modules as elements.
This is a prerequisite to avoid some ecosystem false positives in #18312
Test Plan
Added regression test
sharkdp marked this pull request as ready for review
sharkdp deleted the david/no-object-fallback branch
KotlinIsland pushed a commit to KotlinIsland/basedpython that referenced this pull request
…#18313)
Summary
Fix a bug that involved writes to attributes on union/intersection types that included modules as elements.
This is a prerequisite to avoid some ecosystem false positives in astral-sh/ruff#18312
Test Plan
Added regression test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})