ruff
[red-knot] Fix subtle detail in where the `types.ModuleType` attribute lookup should happen in `TypeInferenceBuilder::infer_name_load()`
#16284
Merged

[red-knot] Fix subtle detail in where the `types.ModuleType` attribute lookup should happen in `TypeInferenceBuilder::infer_name_load()` #16284

AlexWaygood merged 4 commits into main from alex/moduletype-lookup
AlexWaygood
AlexWaygood Remove `types.ModuleType` global-scope fallback from `builtins_symbol…
ef5d31a5
AlexWaygood AlexWaygood added ty
AlexWaygood AlexWaygood requested a review from carljm carljm 1 year ago
AlexWaygood AlexWaygood requested a review from MichaReiser MichaReiser 1 year ago
AlexWaygood AlexWaygood requested a review from sharkdp sharkdp 1 year ago
AlexWaygood
AlexWaygood Fix tests again by adding the fallback to `types.ModuleType` in the p…
bea414c3
AlexWaygood Add unit tests for various helper functions fetching symbols from the…
39d5b681
AlexWaygood Fix new unit tests by reverting changes made in ef5d31a5edc1e35c0c5c7…
dbb398e4
AlexWaygood AlexWaygood force pushed from 1c772257 to dbb398e4 1 year ago
AlexWaygood AlexWaygood changed the title [red-knot] Fix subtle detail in where the `types.ModuleType` lookup should happen in `TypeInferenceBuilder::infer_name_load()` [red-knot] Fix subtle detail in where the `types.ModuleType` attribute lookup should happen in `TypeInferenceBuilder::infer_name_load()` 1 year ago
carljm
carljm approved these changes on 2025-02-20
AlexWaygood AlexWaygood merged fe3ae587 into main 1 year ago
AlexWaygood AlexWaygood deleted the alex/moduletype-lookup branch 1 year ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone