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
I'm not sure what's exactly filtering from the condition (it not python_value_set), but if I deleted the line so that lookup the CompiledModule's stub, everything works as expected.
Can we delete the line safely?
The text was updated successfully, but these errors were encountered:
I'm not sure at all what doesn't work. I'm not sure what code you're providing to Jedi (that doesn't work) and I'm definitely not sure what the issue is here.
Can we delete the line safely?
You should probably assume with every line of code that there is a reason behind it. But feel free to play around with it and report your findings.
I found pylsp cannot go to definition in our C extension library using implicit namespace which provides stub (pyi) file.
This is minimal reproduction
This is pylsp (eglot) log
After some investigation, I found jedi does not try to find out module stub under implicit namespace because
CompiledModule
found here and filtered out: https://github.com/davidhalter/jedi/blob/master/jedi/inference/gradual/typeshed.py#L218I'm not sure what's exactly filtering from the condition (
it not python_value_set
), but if I deleted the line so that lookup theCompiledModule
's stub, everything works as expected.Can we delete the line safely?
The text was updated successfully, but these errors were encountered: