-
-
Notifications
You must be signed in to change notification settings - Fork 507
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
goto_assignments: does not find correct definition for bs4.BeautifulSoup.find_all #1396
Comments
So it seems the position is correct (from the parent class), but the |
davidhalter/jedi-vim#962 (comment) appears to have a simpler test case. |
I just answered a similar question on stackoverflow: https://stackoverflow.com/questions/58594395/jedi-python-autocompletions-hints-not-showing-methods-or-suggestions
I don't really think there's a solution for the type inference of this, but we should definitely fix the |
I just realized that you didn't even ask about the type inference of |
Very glad that you found this one. It always confused me that jedi-vim sometimes went to the wrong file. For a while I suspected jedi-vim might be the one to blame, but it turns out it was all me ;-) Thanks! |
Given
t_bs4.py
:Running
python t_bs4.py
in a virtualenv where "beautifulsoup4==4.8.0" is installed shows:However the file has only 616 lines.
The position appears to refer to:
This causes an error in jedi-vim then:
Tried with latest release and master (66022ed).
Reminded me of #1315, which is working though by now.
The text was updated successfully, but these errors were encountered: