Skip to content
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

fail to call goto_assignments_command #962

Closed
huzilin opened this issue Nov 2, 2019 · 6 comments
Closed

fail to call goto_assignments_command #962

huzilin opened this issue Nov 2, 2019 · 6 comments

Comments

@huzilin
Copy link

huzilin commented Nov 2, 2019

Issue

fail to call goto_assignments_command

Traceback (most recent call last):
  File "~/.vim/bundle/jedi-vim/pythonx/jedi_vim.py", line 192, in wrapper
    return func(*args, **kwargs)
  File "~/.vim/bundle/jedi-vim/pythonx/jedi_vim.py", line 404, in goto
    vim.current.window.cursor = d.line, d.column
vim.error: cursor position outside buffer

Output of “:verbose JediDebugInfo”

#### Jedi-vim debug information

##### jedi-vim version

 - jedi-vim git version: 0.10.0-8-g08f13af
 - jedi git submodule status:  005f69390c4b1a3b864e7373cfcbdaf95e65411d pythonx/jedi (v0.15.1)
 - parso git submodule status:  c0ace63a6905500e18d8ac06af1a0a9057e63498 pythonx/parso (v0.5.1)

##### Global Python

Using Python version 3 to access Jedi.
 - global sys.executable: `/usr/local/bin/vim`
 - global sys.version: `3.7.4 (default, Oct 30 2019, 15:12:19), [Clang 11.0.0 (clang-1100.0.33.8)]`
 - global site module: `/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site.py`

##### Jedi

 - path: `~/.vim/bundle/jedi-vim/pythonx/jedi/jedi/__init__.py`
 - version: 0.15.1

##### Jedi environment: <Environment: 3.5.1 in ~/workdir/python3.5.1_env>

#### :version

VIM - Vi IMproved 8.1 (2018 May 17, compiled Jul  1 2018 23:39:42)
macOS version
Included patches: 1-100
Compiled by Homebrew
Huge version without GUI.  Features included (+) or not (-):
+acl               +cryptv            -footer            +mksession         +path_extra        +syntax            +viminfo
+arabic            +cscope            +fork()            +modify_fname      +perl              +tag_binary        +vreplace
+autocmd           +cursorbind        -gettext           +mouse             +persistent_undo   +tag_old_static    +wildignore
-autoservername    +cursorshape       -hangul_input      -mouseshape        +postscript        -tag_any_white     +wildmenu
-balloon_eval      +dialog_con        +iconv             +mouse_dec         +printer           -tcl               +windows
+balloon_eval_term +diff              +insert_expand     -mouse_gpm         +profile           +termguicolors     +writebackup
-browse            +digraphs          +job               -mouse_jsbterm     -python            +terminal          -X11
++builtin_terms    -dnd               +jumplist          +mouse_netterm     +python3           +terminfo          -xfontset
+byte_offset       -ebcdic            +keymap            +mouse_sgr         +quickfix          +termresponse      -xim
+channel           +emacs_tags        +lambda            -mouse_sysmouse    +reltime           +textobjects       -xpm
+cindent           +eval              +langmap           +mouse_urxvt       +rightleft         +timers            -xsmp
-clientserver      +ex_extra          +libcall           +mouse_xterm       +ruby              +title             -xterm_clipboard
+clipboard         +extra_search      +linebreak         +multi_byte        +scrollbind        -toolbar           -xterm_save
+cmdline_compl     +farsi             +lispindent        +multi_lang        +signs             +user_commands
+cmdline_hist      +file_in_path      +listcmds          -mzscheme          +smartindent       +vertsplit
+cmdline_info      +find_in_path      +localmap          +netbeans_intg     +startuptime       +virtualedit
+comments          +float             +lua               +num64             +statusline        +visual
+conceal           +folding           +menu              +packages          -sun_workshop      +visualextra
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H   -DMACOS_X -DMACOS_X_DARWIN  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: clang   -L. -fstack-protector -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/readline/lib
  -L/usr/local/lib -o vim        -lncurses -liconv -framework AppKit  -L/usr/local/opt/lua/lib -llua5.3 -mmacosx-version-min=10.13 -fstack-prot
ector-strong -L/usr/local/lib  -L/usr/local/Cellar/perl/5.28.0/lib/perl5/5.28.0/darwin-thread-multi-2level/CORE -lperl -lm -lutil -lc  -L/usr/l
ocal/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/config-3.7m-darwin -lpython3.7m -framework CoreFoundation  -lruby.2.5.1
-lobjc
@blueyed
Copy link
Collaborator

blueyed commented Nov 2, 2019

Yes, that might happen with wrong results from Jedi IIRC (likely I've filed it there already and/or here).
Do you have steps to reproduce it?

@huzilin
Copy link
Author

huzilin commented Nov 3, 2019

test1.py

# -*- coding: utf-8 -*-

def log(func):
    def wrapper(*args, **kw):
        print("call %s():" % func.__name__)
        return func(*args, **kw)

    return wrapper


class Base:
    @log
    def f1(self):
        pass

test2.py

# -*- coding: utf-8 -*-

from test1 import Base


class C1(Base):
    def f3(self):
        self.f1() .     # call goto_assignments_command in this place

@blueyed
Copy link
Collaborator

blueyed commented Nov 3, 2019

Thanks for the reproducer! (have not tried it (yet))
But the issue I've meant is davidhalter/jedi#1396

@davidhalter
Copy link
Owner

I can unfortunately not reproduce. Did you do it without the comment or with it? Also which command are you using? \g?

@davidhalter
Copy link
Owner

Ok, my bad. I realized that I never did it on the name. Thanks for the reproduction code!

@davidhalter
Copy link
Owner

The original issue was fixed on latest jedi-vim (master), it was probably davidhalter/jedi#1396 that fixed this.

However goto still didn't work. I therefore pushed an additional fix in Jedi.

clrpackages pushed a commit to clearlinux-pkgs/jedi that referenced this issue Jan 29, 2020
Daniel Hahler (1):
      Add qa env

Dave Halter (238):
      Add a test for dict key completions
      Small rename
      Get the first dict completions passing
      Get some more dict completions working
      Get a few more tests passing about dict key strings
      Start working on uniting parts of code of file path/dict completion
      Make sure that goto is used instead of goto_assignments
      Make sure goto_assignments is no longer used on Definition
      Add latest changes to Changelog
      completions -> complete, see #1166
      goto_definitions -> infer; goto_assignments -> goto, see #1166
      call_signatures -> find_signatures
      usages -> find_references, see #1166
      Make sure the line numbers are validated for the new API methods
      Fix signature issues
      Use complete instead of completions in test_api/
      Get rid of completions in tests
      Refactor run.py to use the new API
      Try to use the new API names everywhere
      A few renames for readability in the api/completion.py file
      Get rid of all completions usages
      Move names to Script and mark deprecations
      Make sure that jedi.names is not references anymore
      Make sure goto_definitions is no longer used in the main code
      Don't use goto_definitions anymore, use infer
      goto_assignment -> goto everywhere where it was left
      usages -> find_references
      Rename references file
      usage -> reference
      call signature -> signature
      sith now also uses the new API
      Test setting line/column multiple times
      Add tests to fix all the deprecations
      Add big API changes to Changelog
      Add the Script.help function, fixes #392
      Move the docstring checking code to the names
      Remove the _Help class completely
      Avoid some duplication of code
      Attribute docstrings work now, fixes #138
      Refactor tests a bit
      Test parents a bit better
      Fix some issues with Definition.parent()
      Add Script().get_context, fixes #253
      Catch an additional case for get_context where the cursor is e.g. on the function name
      Refactor references: Matching more names that might be related
      Add a test to make sure some renamings work always
      Fix an error recovery goto issue, fixes davidhalter/jedi-vim#962
      Add support for completion even when __getattr__ is present, fixes #997
      Fix a few tests
      Goto on a function/attribute in a class now goes to the definition in its super class, fixes #1175
      Add the fix for #997 to the changelog
      Python 2 test fixes
      Make sure staticmethod params are (mostly) inferred correctly, fixes #735
      Make sure classmethod param completion works better for the first param
      Make sure modules for dynamic searches are not checked twice
      Remove a function that did nothing anymore
      Fix python 2 environment finalizing, fixes #1412
      Keyword completion after ... should not work, fixes davidhalter/jedi-vim#506
      Fix tests
      Make sure py__name__ and name are defined on all values
      Get some pytest fixtures working with some side effects
      Make yield pytest fixtures work
      Check better for when something is a picture
      Make sure that infering params is possible from the API
      Make goto work for pytest fixtures
      Deprecate Python 2 support
      Make sure param completions work the right way
      Fix _BuiltinMappedMethod to use a ValueWrapper
      Fix some tests
      Make completion of pytest fixtures possible
      Fix completion for non-pytest params
      Fix selection of what is a pytest fixture and what isn't
      Fix tests
      Fix python 2 tests
      Make sure the monkeypatch fixture completion works
      Make sure pytest stdlib fixtures are completable
      Skip pytest tests when environments is not the same one
      Self manipulations are now more correct, fixes #1392
      Fix namedtuple issues that were uncovered by the 'self' changes
      Make sure to mention that Jedi understands Pytest fixtures
      Fix some more dict tests
      Get dict completions mostly working
      Make most dict completions possible
      Fix remaining issues with dict completions
      Make sure to avoid duplicates in completions
      Add a few more tests for dict completions
      Make the completions possible for Interpreter objects
      Write tests for dict getitem
      Add some more tests to check if getitem on stuff like dict(f=3) works
      Add the CHANGELOG entries for dict completions.
      Clarify a sentence around virtualenv security, see #1250
      Make sure pytester is also used for fixtures, see #791
      Make sure test prefixed functions are checked for pytest fixtures, see #791
      Fix tests, skip more Python 2
      Get doctest completions working, fixes #860
      Some more clarifications around docstrings, see #860
      Make sure to get completions for backticks in docstrings work, see #860
      Get rid of a lot of flake8 errors
      Get rid of most flake8 errors
      Add github sponsor FUNDING.yml file
      Use the root implementation for get_root_context
      Remove unused code
      Added debug.warning to coveragerc, it's not relevant
      Revert "Use the root implementation for get_root_context"
      Skip dict key completion tests for Python 3.5, because it's just annoying with all the f-string stuff
      Add a test for #1465
      Make sure that include_signature always works, fixes #1466
      Make sure to pass tests again on Python 3.4
      Change ModuleValue param order and add defaults
      Add some more dict completion tests with whitespace
      Remove some skips around attribute docstrings
      Make some test code prettier
      Make sure that equals will only be added to keyword arguments and not just randomly
      LazyInstanceClassName -> Use NameWrapper
      Separate getting docstrings and getting signatures for names, see discussion #1466
      Remove unnecessary code
      Remoeve dead code
      Use Python 3.7 for calculating test coverage
      Make sure coverage works again
      Remove a weird assert
      Raise a deprecation warning on Definition.params
      Fix a small pytest fixture bug
      Infer doctests and signatures uniformly, fixes #1466
      Remove get_signatures again from names
      Remove the old definition tests
      Little refactoring
      Fix a small issue
      Fix a debug message
      Disable some features for big annoying libraries like pandas, tensorflow, see #520
      Make sure the repr of compiled access isn't huge
      Make sure decorators are also not inferred for big annoying libraries, see #520
      Fix an issue with the is_big_annoying_library function, see #520
      Undo finding signatures for everything and only do it for stubs and non-statements for when used in docstrings
      Make sure that kwargs are not repeated when they are inferred
      Make sure params have no name
      Avoid using params in tests and use get_signatures().params
      Ignore processing param names, fixes #520
      Add a completion cache for numpy/tensorflow, fixes #1116
      Make sure to check the module cache before loading a module (again)
      Add a test to check if numpy tensorflow stuff is now cached, see #1116
      Make sure inheritance works for fixtures, fixes #791
      Fix signatures when used for Generic classes, fixes #1468
      Make sure fixture resolving works in conftest.py, see #791
      Make sure to use _stub_to_python_value_set for all conversions, see #1466
      Use one single way to convert stubs to Python, see #1466
      Fix some issues with converting names, see #1466
      Fix a bug where parent_context was a value
      Remove a method that was not necessary
      Remove a statement that didn't make sense
      Skip a test that doesn't work in Python 2
      Avoid a few warnings
      Make sure that CompiledValue can deal with string annotations
      Make Union/Optional works with compiled objects
      Properly convert compiled values to generic classes
      Make sure the latest changes work with Python 3.6/3.7
      Avoid a bug that a compiler might have found, fixes #1469
      Move the absolute import test files
      Move flask tests to examples folder
      Move implicit namespace package code to example dir
      Remove unused test code
      Move another test to examples
      Move the extension test to examples
      Move sample_venvs to examples
      Moved zipped imports test files
      Move namespace tests to examples
      Move not_in_sys_path tests to examples
      speed test to examples
      Makes sure examples are excluded from pytest
      Refactor the isinstance checks a bit
      Finally get rid of call_of_leaf
      Refactor execute_operation a bit
      Remove NestedImportModule, because it hasn't been used in years
      Make sure tests are proper packages, so that pytest doesn't do shenannigans with sys path
      Get interpreter environment tests working
      Implement interpreter test on travis
      Use the proper fixture
      Make sure to find both stubs and non-stubs with usages
      Fix stub conversion
      Add another stub usage test
      Disable flow analysis for finding usages
      Add a few more stub usage tests
      Interpreter test fix for travis config
      Don't run some usage tests on Python 2
      Another few travis fixes
      Forgot to use sudo for installing dependencies in travis
      Small changelog fix
      Apparently this one variable is needed
      Move get_module_contexts_containing_name to the references module
      Added FolderIO.walk and FolderIO.get_base_name
      Revisit reference finding, scan a lot of folders
      Ignore .gitignore in get_references and therefore make get_references usable again
      Don't search for usages when we are working with params
      Make sure to not scan the same directory multiple times
      Remove a few imports
      Start limiting opened files and parsed files for references
      Explain why the references limits were chosen
      Use different limits for references and dynamic calls
      Make sure that CompiledObject doesn't have a file_io
      Reduce limits of files to parse by quite a bit
      Fix remaining tests
      find_references -> get_references, see #1476
      find_signatures -> get_signatures, see #1476
      Rename Script.names to Script.get_names, fixes #1476
      Fix a Python 2 issue
      Make sure a certain test passes as well with tox
      Raise a proper exception instead of assert in case only_stubs and prefer_stubs are given
      Add follow_imports to Definition.goto, fixes #1474
      Reformat the changelog a bit
      Rewrite some whitespace
      Make sure to stop gathering buildout paths at a certain point, fixes #1325
      Removed settings.no_completion_duplicates
      Remove use_filesystem_cache and additional_dynamic_modules, it hasn't been implemented for a long time
      Make sure that del_stmt as a name can be handled, see #313
      Fix a bug with version_info, fixes #1477
      Make sure that the builtin docstring works again for infer calls
      Create CompiledModule to have a better differentiation between compiled modules and compiles values
      Use is_compiled instead of isinstance checks
      Skip a test in Python 2
      Clarify that for Python 2 we will not fix bugs anymore
      Fix value/context mixup in mixed, fixes #1479
      Avoid a print in tests
      Prepare a test for #1479
      Remove some dead code
      Fix issue with mixed objects, fixes #1480
      Refactor MixedName quite a bit
      Remove underscore_memoization caching method
      Make MixedName a Namewrapper instead of inheritance
      Revisit caching of mixed
      CompiledValue -> ExactValue
      CompiledObject -> CompiledValue
      Remove dead code
      compiled_object -> compiled_value
      Fix an issue with names
      Create a private helper to test completions
      Fix a small signature issue
      Small Changelog updates
      Make sure to skip some tests for Python 3.5
      Remove Python 3.3 from environment tests
blueyed added a commit to blueyed/jedi-vim that referenced this issue Jan 29, 2020
    * pythonx/jedi afbd8cad...18f84d3a (186):
      > Remove Python 3.3 from environment tests
      > Make sure to skip some tests for Python 3.5
      > Small Changelog updates
      > Fix a small signature issue
      > Create a private helper to test completions
      > Fix an issue with names
      > compiled_object -> compiled_value
      > Remove dead code
      > CompiledObject -> CompiledValue
      > CompiledValue -> ExactValue
      > Revisit caching of mixed
      > Make MixedName a Namewrapper instead of inheritance
      > Remove underscore_memoization caching method
      > Refactor MixedName quite a bit
      > Fix issue with mixed objects, fixes #1480
      > Remove some dead code
      > Prepare a test for #1479
      > Avoid a print in tests
      > Fix value/context mixup in mixed, fixes #1479
      > Clarify that for Python 2 we will not fix bugs anymore
      > Skip a test in Python 2
      > Use is_compiled instead of isinstance checks
      > Create CompiledModule to have a better differentiation between compiled modules and compiles values
      > Make sure that the builtin docstring works again for infer calls
      > Fix a bug with version_info, fixes #1477
      > Make sure that del_stmt as a name can be handled, see davidhalter#313
      > Remove use_filesystem_cache and additional_dynamic_modules, it hasn't been implemented for a long time
      > Removed settings.no_completion_duplicates
      > Make sure to stop gathering buildout paths at a certain point, fixes #1325
      > Rewrite some whitespace
      > Reformat the changelog a bit
      > Add follow_imports to Definition.goto, fixes #1474
      > Raise a proper exception instead of assert in case only_stubs and prefer_stubs are given
      > Make sure a certain test passes as well with tox
      > Fix a Python 2 issue
      > Rename Script.names to Script.get_names, fixes #1476
      > find_signatures -> get_signatures, see #1476
      > find_references -> get_references, see #1476
      > Fix remaining tests
      > Reduce limits of files to parse by quite a bit
      > Make sure that CompiledObject doesn't have a file_io
      > Use different limits for references and dynamic calls
      > Explain why the references limits were chosen
      > Start limiting opened files and parsed files for references
      > Remove a few imports
      > Make sure to not scan the same directory multiple times
      > Don't search for usages when we are working with params
      > Ignore .gitignore in get_references and therefore make get_references usable again
      > Revisit reference finding, scan a lot of folders
      > Added FolderIO.walk and FolderIO.get_base_name
      > Move get_module_contexts_containing_name to the references module
      > Apparently this one variable is needed
      > Small changelog fix
      > Forgot to use sudo for installing dependencies in travis
      > Another few travis fixes
      > Don't run some usage tests on Python 2
      > Interpreter test fix for travis config
      > Add a few more stub usage tests
      > Disable flow analysis for finding usages
      > Add another stub usage test
      > Fix stub conversion
      > Make sure to find both stubs and non-stubs with usages
      > Use the proper fixture
      > Implement interpreter test on travis
      > Get interpreter environment tests working
      > Make sure tests are proper packages, so that pytest doesn't do shenannigans with sys path
      > Remove NestedImportModule, because it hasn't been used in years
      > Refactor execute_operation a bit
      > Finally get rid of call_of_leaf
      > Refactor the isinstance checks a bit
      > Makes sure examples are excluded from pytest
      > speed test to examples
      > Move not_in_sys_path tests to examples
      > Move namespace tests to examples
      > Moved zipped imports test files
      > Move sample_venvs to examples
      > Move the extension test to examples
      > Move another test to examples
      > Remove unused test code
      > Move implicit namespace package code to example dir
      > Move flask tests to examples folder
      > Move the absolute import test files
      > Avoid a bug that a compiler might have found, fixes #1469
      > Make sure the latest changes work with Python 3.6/3.7
      > Properly convert compiled values to generic classes
      > Make Union/Optional works with compiled objects
      > Make sure that CompiledValue can deal with string annotations
      > Avoid a few warnings
      > Skip a test that doesn't work in Python 2
      > Remove a statement that didn't make sense
      > Remove a method that was not necessary
      > Fix a bug where parent_context was a value
      > Fix some issues with converting names, see #1466
      > Use one single way to convert stubs to Python, see #1466
      > Make sure to use _stub_to_python_value_set for all conversions, see #1466
      > Make sure fixture resolving works in conftest.py, see davidhalter#791
      > Fix signatures when used for Generic classes, fixes #1468
      > Make sure inheritance works for fixtures, fixes davidhalter#791
      > Add a test to check if numpy tensorflow stuff is now cached, see davidhalter#1116
      > Make sure to check the module cache before loading a module (again)
      > Add a completion cache for numpy/tensorflow, fixes davidhalter#1116
      > Ignore processing param names, fixes davidhalter#520
      > Avoid using params in tests and use get_signatures().params
      > Make sure params have no name
      > Make sure that kwargs are not repeated when they are inferred
      > Undo finding signatures for everything and only do it for stubs and non-statements for when used in docstrings
      > Fix an issue with the is_big_annoying_library function, see davidhalter#520
      > Make sure decorators are also not inferred for big annoying libraries, see davidhalter#520
      > Make sure the repr of compiled access isn't huge
      > Disable some features for big annoying libraries like pandas, tensorflow, see davidhalter#520
      > Fix a debug message
      > Fix a small issue
      > Little refactoring
      > Remove the old definition tests
      > Remove get_signatures again from names
      > Infer doctests and signatures uniformly, fixes #1466
      > Fix a small pytest fixture bug
      > Raise a deprecation warning on Definition.params
      > Remove a weird assert
      > Make sure coverage works again
      > Use Python 3.7 for calculating test coverage
      > Remoeve dead code
      > Remove unnecessary code
      > Separate getting docstrings and getting signatures for names, see discussion #1466
      > LazyInstanceClassName -> Use NameWrapper
      > Make sure that equals will only be added to keyword arguments and not just randomly
      > Make some test code prettier
      > Remove some skips around attribute docstrings
      > Add some more dict completion tests with whitespace
      > Change ModuleValue param order and add defaults
      > Make sure to pass tests again on Python 3.4
      > Make sure that include_signature always works, fixes #1466
      > Add a test for #1465
      > Skip dict key completion tests for Python 3.5, because it's just annoying with all the f-string stuff
      > Revert "Use the root implementation for get_root_context"
      > Added debug.warning to coveragerc, it's not relevant
      > Remove unused code
      > Use the root implementation for get_root_context
      > Add github sponsor FUNDING.yml file
      > Merge branch 'qa' of https://github.com/blueyed/jedi
      > Get rid of most flake8 errors
      > Get rid of a lot of flake8 errors
      > Make sure to get completions for backticks in docstrings work, see davidhalter#860
      > Some more clarifications around docstrings, see davidhalter#860
      > Get doctest completions working, fixes davidhalter#860
      > Fix tests, skip more Python 2
      > Make sure test prefixed functions are checked for pytest fixtures, see davidhalter#791
      > Make sure pytester is also used for fixtures, see davidhalter#791
      > Clarify a sentence around virtualenv security, see #1250
      > Add the CHANGELOG entries for dict completions.
      > Merge branch 'dict', fixes davidhalter#951
      > Make sure to mention that Jedi understands Pytest fixtures
      > Fix namedtuple issues that were uncovered by the 'self' changes
      > Self manipulations are now more correct, fixes #1392
      > Skip pytest tests when environments is not the same one
      > Make sure pytest stdlib fixtures are completable
      > Make sure the monkeypatch fixture completion works
      > Merge branch 'pytest', fixes parts of davidhalter#791
      > Make sure py__name__ and name are defined on all values
      > Fix tests
      > Keyword completion after ... should not work, fixes davidhalter#506
      > Fix python 2 environment finalizing, fixes #1412
      > Remove a function that did nothing anymore
      > Make sure modules for dynamic searches are not checked twice
      > Make sure classmethod param completion works better for the first param
      > Make sure staticmethod params are (mostly) inferred correctly, fixes davidhalter#735
      > Python 2 test fixes
      > Add the fix for davidhalter#997 to the changelog
      > Goto on a function/attribute in a class now goes to the definition in its super class, fixes #1175
      > Fix a few tests
      > Add support for completion even when __getattr__ is present, fixes davidhalter#997
      > Fix an error recovery goto issue, fixes davidhalter#962
      > Add a test to make sure some renamings work always
      > Refactor references: Matching more names that might be related
      > Catch an additional case for get_context where the cursor is e.g. on the function name
      > Add Script().get_context, fixes davidhalter#253
      > Fix some issues with Definition.parent()
      > Test parents a bit better
      > Refactor tests a bit
      > Attribute docstrings work now, fixes davidhalter#138
      > Avoid some duplication of code
      > Remove the _Help class completely
      > Move the docstring checking code to the names
      > Add the Script.help function, fixes davidhalter#392
      > Add big API changes to Changelog
      > Merge branch 'api', fixes #1166
blueyed added a commit to blueyed/jedi-vim that referenced this issue Feb 3, 2020
    * pythonx/jedi afbd8cad...3ad3dc08 (197):
      > Run get_type_hint tests only for 3.6+
      > Stubs should not become stubs again in the conversion function, fixes #1475
      > Make sure to print errors in __main__ completions
      > Make sure param hints are working for functions
      > Generate type hints, fixes davidhalter#987
      > Bump version to 0.16.1
      > Make sure to be able to deal with all kinds of loaders, fixes #1487
      > Make generators return more correct values with while loops, fixes davidhalter#683
      > Avoid aborting search for yields when they are still reachable, see davidhalter#683
      > Jedi understand now when you use del, fixes davidhalter#313
      > Remove dead code
      > Remove Python 3.3 from environment tests
      > Make sure to skip some tests for Python 3.5
      > Small Changelog updates
      > Fix a small signature issue
      > Create a private helper to test completions
      > Fix an issue with names
      > compiled_object -> compiled_value
      > Remove dead code
      > CompiledObject -> CompiledValue
      > CompiledValue -> ExactValue
      > Revisit caching of mixed
      > Make MixedName a Namewrapper instead of inheritance
      > Remove underscore_memoization caching method
      > Refactor MixedName quite a bit
      > Fix issue with mixed objects, fixes #1480
      > Remove some dead code
      > Prepare a test for #1479
      > Avoid a print in tests
      > Fix value/context mixup in mixed, fixes #1479
      > Clarify that for Python 2 we will not fix bugs anymore
      > Skip a test in Python 2
      > Use is_compiled instead of isinstance checks
      > Create CompiledModule to have a better differentiation between compiled modules and compiles values
      > Make sure that the builtin docstring works again for infer calls
      > Fix a bug with version_info, fixes #1477
      > Make sure that del_stmt as a name can be handled, see davidhalter#313
      > Remove use_filesystem_cache and additional_dynamic_modules, it hasn't been implemented for a long time
      > Removed settings.no_completion_duplicates
      > Make sure to stop gathering buildout paths at a certain point, fixes #1325
      > Rewrite some whitespace
      > Reformat the changelog a bit
      > Add follow_imports to Definition.goto, fixes #1474
      > Raise a proper exception instead of assert in case only_stubs and prefer_stubs are given
      > Make sure a certain test passes as well with tox
      > Fix a Python 2 issue
      > Rename Script.names to Script.get_names, fixes #1476
      > find_signatures -> get_signatures, see #1476
      > find_references -> get_references, see #1476
      > Fix remaining tests
      > Reduce limits of files to parse by quite a bit
      > Make sure that CompiledObject doesn't have a file_io
      > Use different limits for references and dynamic calls
      > Explain why the references limits were chosen
      > Start limiting opened files and parsed files for references
      > Remove a few imports
      > Make sure to not scan the same directory multiple times
      > Don't search for usages when we are working with params
      > Ignore .gitignore in get_references and therefore make get_references usable again
      > Revisit reference finding, scan a lot of folders
      > Added FolderIO.walk and FolderIO.get_base_name
      > Move get_module_contexts_containing_name to the references module
      > Apparently this one variable is needed
      > Small changelog fix
      > Forgot to use sudo for installing dependencies in travis
      > Another few travis fixes
      > Don't run some usage tests on Python 2
      > Interpreter test fix for travis config
      > Add a few more stub usage tests
      > Disable flow analysis for finding usages
      > Add another stub usage test
      > Fix stub conversion
      > Make sure to find both stubs and non-stubs with usages
      > Use the proper fixture
      > Implement interpreter test on travis
      > Get interpreter environment tests working
      > Make sure tests are proper packages, so that pytest doesn't do shenannigans with sys path
      > Remove NestedImportModule, because it hasn't been used in years
      > Refactor execute_operation a bit
      > Finally get rid of call_of_leaf
      > Refactor the isinstance checks a bit
      > Makes sure examples are excluded from pytest
      > speed test to examples
      > Move not_in_sys_path tests to examples
      > Move namespace tests to examples
      > Moved zipped imports test files
      > Move sample_venvs to examples
      > Move the extension test to examples
      > Move another test to examples
      > Remove unused test code
      > Move implicit namespace package code to example dir
      > Move flask tests to examples folder
      > Move the absolute import test files
      > Avoid a bug that a compiler might have found, fixes #1469
      > Make sure the latest changes work with Python 3.6/3.7
      > Properly convert compiled values to generic classes
      > Make Union/Optional works with compiled objects
      > Make sure that CompiledValue can deal with string annotations
      > Avoid a few warnings
      > Skip a test that doesn't work in Python 2
      > Remove a statement that didn't make sense
      > Remove a method that was not necessary
      > Fix a bug where parent_context was a value
      > Fix some issues with converting names, see #1466
      > Use one single way to convert stubs to Python, see #1466
      > Make sure to use _stub_to_python_value_set for all conversions, see #1466
      > Make sure fixture resolving works in conftest.py, see davidhalter#791
      > Fix signatures when used for Generic classes, fixes #1468
      > Make sure inheritance works for fixtures, fixes davidhalter#791
      > Add a test to check if numpy tensorflow stuff is now cached, see davidhalter#1116
      > Make sure to check the module cache before loading a module (again)
      > Add a completion cache for numpy/tensorflow, fixes davidhalter#1116
      > Ignore processing param names, fixes davidhalter#520
      > Avoid using params in tests and use get_signatures().params
      > Make sure params have no name
      > Make sure that kwargs are not repeated when they are inferred
      > Undo finding signatures for everything and only do it for stubs and non-statements for when used in docstrings
      > Fix an issue with the is_big_annoying_library function, see davidhalter#520
      > Make sure decorators are also not inferred for big annoying libraries, see davidhalter#520
      > Make sure the repr of compiled access isn't huge
      > Disable some features for big annoying libraries like pandas, tensorflow, see davidhalter#520
      > Fix a debug message
      > Fix a small issue
      > Little refactoring
      > Remove the old definition tests
      > Remove get_signatures again from names
      > Infer doctests and signatures uniformly, fixes #1466
      > Fix a small pytest fixture bug
      > Raise a deprecation warning on Definition.params
      > Remove a weird assert
      > Make sure coverage works again
      > Use Python 3.7 for calculating test coverage
      > Remoeve dead code
      > Remove unnecessary code
      > Separate getting docstrings and getting signatures for names, see discussion #1466
      > LazyInstanceClassName -> Use NameWrapper
      > Make sure that equals will only be added to keyword arguments and not just randomly
      > Make some test code prettier
      > Remove some skips around attribute docstrings
      > Add some more dict completion tests with whitespace
      > Change ModuleValue param order and add defaults
      > Make sure to pass tests again on Python 3.4
      > Make sure that include_signature always works, fixes #1466
      > Add a test for #1465
      > Skip dict key completion tests for Python 3.5, because it's just annoying with all the f-string stuff
      > Revert "Use the root implementation for get_root_context"
      > Added debug.warning to coveragerc, it's not relevant
      > Remove unused code
      > Use the root implementation for get_root_context
      > Add github sponsor FUNDING.yml file
      > Merge branch 'qa' of https://github.com/blueyed/jedi
      > Get rid of most flake8 errors
      > Get rid of a lot of flake8 errors
      > Make sure to get completions for backticks in docstrings work, see davidhalter#860
      > Some more clarifications around docstrings, see davidhalter#860
      > Get doctest completions working, fixes davidhalter#860
      > Fix tests, skip more Python 2
      > Make sure test prefixed functions are checked for pytest fixtures, see davidhalter#791
      > Make sure pytester is also used for fixtures, see davidhalter#791
      > Clarify a sentence around virtualenv security, see #1250
      > Add the CHANGELOG entries for dict completions.
      > Merge branch 'dict', fixes davidhalter#951
      > Make sure to mention that Jedi understands Pytest fixtures
      > Fix namedtuple issues that were uncovered by the 'self' changes
      > Self manipulations are now more correct, fixes #1392
      > Skip pytest tests when environments is not the same one
      > Make sure pytest stdlib fixtures are completable
      > Make sure the monkeypatch fixture completion works
      > Merge branch 'pytest', fixes parts of davidhalter#791
      > Make sure py__name__ and name are defined on all values
      > Fix tests
      > Keyword completion after ... should not work, fixes davidhalter#506
      > Fix python 2 environment finalizing, fixes #1412
      > Remove a function that did nothing anymore
      > Make sure modules for dynamic searches are not checked twice
      > Make sure classmethod param completion works better for the first param
      > Make sure staticmethod params are (mostly) inferred correctly, fixes davidhalter#735
      > Python 2 test fixes
      > Add the fix for davidhalter#997 to the changelog
      > Goto on a function/attribute in a class now goes to the definition in its super class, fixes #1175
      > Fix a few tests
      > Add support for completion even when __getattr__ is present, fixes davidhalter#997
      > Fix an error recovery goto issue, fixes davidhalter#962
      > Add a test to make sure some renamings work always
      > Refactor references: Matching more names that might be related
      > Catch an additional case for get_context where the cursor is e.g. on the function name
      > Add Script().get_context, fixes davidhalter#253
      > Fix some issues with Definition.parent()
      > Test parents a bit better
      > Refactor tests a bit
      > Attribute docstrings work now, fixes davidhalter#138
      > Avoid some duplication of code
      > Remove the _Help class completely
      > Move the docstring checking code to the names
      > Add the Script.help function, fixes davidhalter#392
      > Add big API changes to Changelog
      > Merge branch 'api', fixes #1166
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants