Youcompleteme: Python3 support roadmap?

Created on 4 Sep 2015  路  4Comments  路  Source: ycm-core/YouCompleteMe

Currently on fedora 22 with the latest version of vim. Looks like python 2 is completely deprecated in vim. Is there any chance the plugin will be re-written in python3 at some point?

Most helpful comment

It may worth mentioning that the new Ubuntu 16.04 LTS is also dropping python2 support:
vim is built with -python +python3 by default.

And the readme page still reads "Make sure you have Vim 7.3.598 with python2 support. Ubuntu 14.04 and later have a Vim that's recent enough." Please change it to indicate ubuntu user may need to recompile their vim.

All 4 comments

Completely rewritten in python3? Possibly at some point. There are currently no plans to do so since almost all distros ship Vim with python2 support (and usually _only_ python2 support). As such, closing issue.

Note that there's a stark difference between YCM & ycmd _running_ in a python3 interpreter and supporting python3 completion. The latter is planned, the former isn't.

Would there be any appetite to conform to this? https://docs.python.org/3/howto/pyporting.html

Wondering if it would be something I could do to learn more about python :smile:

It may worth mentioning that the new Ubuntu 16.04 LTS is also dropping python2 support:
vim is built with -python +python3 by default.

And the readme page still reads "Make sure you have Vim 7.3.598 with python2 support. Ubuntu 14.04 and later have a Vim that's recent enough." Please change it to indicate ubuntu user may need to recompile their vim.

@pkuqiuning Thanks for bringing that to my attention. I'll need to think about it for a bit and consider options.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

blackode picture blackode  路  3Comments

hkurj picture hkurj  路  3Comments

Bercio picture Bercio  路  5Comments

samfux84 picture samfux84  路  3Comments

beojan picture beojan  路  4Comments