You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
New semantic analyzer: dummy alias definitions in typing stub (List etc.) #6297
Support definitions for built-in type aliases List, Set in the stub for typing. Currently these don't work, which is a problem since typeshed includes these, whereas test fixtures don't.
FWIW I just whitelisting some test cases to the new semantic analyzer, and it looks like many of them are blocked by this:
Actual:
tmp/builtins.pyi:1: error: Module 'typing' has no attribute 'List' (diff)
tmp/builtins.pyi:1: error: Module 'typing' has no attribute 'Set' (diff)
I will work on this next to unblock the situation.
Activity
ilevkivskyi commentedon Feb 5, 2019
FWIW I just whitelisting some test cases to the new semantic analyzer, and it looks like many of them are blocked by this:
I will work on this next to unblock the situation.
JukkaL commentedon Feb 5, 2019
Note that my current working branch makes changes to how the aliases are handled.
New semantic analyzer: Support builtin typing aliases (#6358)