Val Markovic
92346d2bcc
Import order fixes for py3
...
The import machinery works differently in py3, so some massaging is in
order.
2016-02-28 14:39:55 -08:00
Val Markovic
4e82409cc1
Futurize pass + manual fixes
2016-02-27 16:12:44 -08:00
micbou
3cf6fa86f5
Rewrite SetUpPython function
...
Do not create YouCompleteMe object if setup failed. Use a try/except
block to prevent backtraces in Vim.
2016-02-24 17:56:31 +01:00
micbou
4835b49a89
Remove interpreter line from Python sources
2016-02-05 16:24:03 +01:00
micbou
a0943d5d31
Fall back to Python search in PATH
2016-01-23 16:59:13 +01:00
micbou
a80846e35d
Check Python interpreter pathname
...
Rename CheckPythonVersion to IsPythonVersionCorrect.
In embedders, sys.executable may contain a Vim path instead of a Python
one. To avoid starting a Vim instance in this case, we check that given
path ends with a Python 2.6 or 2.7 name using a regex.
Add tests for this regex.
2016-01-12 22:36:31 +01:00
micbou
c7e32b3600
Implement new strategy to find Python path
2016-01-12 01:56:29 +01:00
micbou
87854f0245
Move PathToPythonInterpreter function to YCM
...
Create a module for paths.
2015-10-09 18:53:24 +02:00