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 }}
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
unittest types not being pulled from typeshed #301
In Python 2 we don't use typeshed since basic analysis gives better results as source is in Python. In 3. we do pull typeshed, see #277, but all we get is exception since
Shouldn't there be more info than just "bound built-in method" regardless? I did my testing in 3.6 (also checking tensorflow analysis), and if typeshed info is really being used then I would have thought I'd see more info on both of these functions (and others).
Activity
MikhailArkhipov commentedon Oct 23, 2018
In Python 2 we don't use typeshed since basic analysis gives better results as source is in Python. In 3. we do pull typeshed, see #277, but all we get is
exceptionsincejakebailey commentedon Oct 23, 2018
Shouldn't there be more info than just "bound built-in method" regardless? I did my testing in 3.6 (also checking tensorflow analysis), and if typeshed info is really being used then I would have thought I'd see more info on both of these functions (and others).
Expanding the exception example out to:
em.exceptiondoes't show any types, so I don't think we're gettingexceptionat all.MikhailArkhipov commentedon Oct 23, 2018
There are probably issues with TypeVar declarations
ex #254
MikhailArkhipov commentedon Oct 25, 2018
Same as #254
qubitron commentedon Nov 8, 2018
I tried Jake's example above and the completions returned are very limited:

Compared to the following with Jedi:

Is Jedi over-including?
MikhailArkhipov commentedon Nov 8, 2018
No. Is it Python 2 or 3 and what LS version is it.
MikhailArkhipov commentedon Nov 8, 2018
2:

3:

qubitron commentedon Nov 8, 2018
False alarm, I was on old version of extension, this works for me now.