Support Python versions up to 3.9

This commit is contained in:
Alan Hamlett 2018-04-03 23:56:31 -07:00
parent 353e78e0d5
commit 068496b66b

View file

@ -284,7 +284,7 @@ let s:VERSION = '7.1.0'
if !filereadable(python_bin) if !filereadable(python_bin)
let paths = ['python3'] let paths = ['python3']
if s:IsWindows() if s:IsWindows()
let pyver = 50 let pyver = 39
while pyver >= 26 while pyver >= 26
let paths = paths + [printf('/Python%d/pythonw', pyver), printf('/python%d/pythonw', pyver), printf('/Python%d/python', pyver), printf('/python%d/python', pyver)] let paths = paths + [printf('/Python%d/pythonw', pyver), printf('/python%d/pythonw', pyver), printf('/Python%d/python', pyver), printf('/python%d/python', pyver)]
let pyver = pyver - 1 let pyver = pyver - 1