The issue is on Arch (1) & Debian Jessie (2) where:
1.
> uname -r
4.0.5-1-ARCH
> echo $PYTHONPATH
/usr/lib/python2.7/
- Debian Jessie is without the PYTHONPATH set.
My vim is compiled with python.
:python import sys; print(sys.version)
2.7.10 (default, May 26 2015, 04:16:29)
[GCC 5.1.0]
I tried the following Arch Linux packages:
> pacman -S python2-jedi vim-jedi
completion works on classes but not on the subclasses.
import os # os is built-in library.
os. # ycm does not complete members of this class.
I removed them and downloaded the git package.
> cd ~/.vim/bundle/jedi-vim/jedi/test/ && ./run.py
Summary: (0 fails of 962 tests) in 18.819s
> cd ../ && ./setup build && ./setup install
And again, completion works on classes but not on the subclasses.
My previous question that sent me to jedi-vim from Vim YouCompleteMe Python subclasses are not detected on TAB-completion in Arch Linux