-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
priority-1-normalrefactoringChanging mypy's internalsChanging mypy's internalssemantic-analyzerProblems that happen during semantic analysisProblems that happen during semantic analysis
Description
Second pass of semantic analysis has 6 lookup functions:
lookuplookup_qualifiedlookup_fully_qualifiedlookup_fully_qualified_or_nonelookup_type_node
plus 3 related helpers:
builtin_typenamed_typenamed_type_or_none
I think 9 lookup functions is too much and can cause confusions (this happened to me several times). I think we can leave only 3 lookup functions plus 2 helpers.
elazarg, elliott-beach and Michael0x2a
Metadata
Metadata
Assignees
Labels
priority-1-normalrefactoringChanging mypy's internalsChanging mypy's internalssemantic-analyzerProblems that happen during semantic analysisProblems that happen during semantic analysis