[red-knot] Fix subtle detail in where the `types.ModuleType` attribute lookup should happen in `TypeInferenceBuilder::infer_name_load()` #16284
Remove `types.ModuleType` global-scope fallback from `builtins_symbol…
ef5d31a5
Fix tests again by adding the fallback to `types.ModuleType` in the p…
bea414c3
Add unit tests for various helper functions fetching symbols from the…
39d5b681
Fix new unit tests by reverting changes made in ef5d31a5edc1e35c0c5c7…
dbb398e4
AlexWaygood
force pushed
from
1c772257
to
dbb398e4
1 year ago
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
approved these changes
on 2025-02-20
AlexWaygood
deleted the alex/moduletype-lookup branch 1 year ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub