Friday, January 2, 2015

Re: Python 2 vs Python 3 in Vim

If on Windows, both versions of python (would) work in the same VIM
instance.

On Linux certain libraries don't work, if both python versions are enabled
(like termios
https://groups.google.com/forum/#!topic/vim_dev/EL5364GtHC0
<https://groups.google.com/forum/#%21topic/vim_dev/EL5364GtHC0>).
It was decided, that if no full support is possible, then block the
second one to be loaded.

You could remove this block manually than compile yourself.
Else I found: https://bbs.archlinux.org/viewtopic.php?pid=1420458

Regards, Roland

On 1/2/2015 9:04 PM, Shiny Bling wrote:
> Hi,
>
> When creating a vim build for Windows, I noticed that Python 2 and Python 3 are not exactly compatible. I can imagine that there are plugins written using both versions.
>
> What is a reasonable solution for supporting these languages in vim builds? They can't be loaded both at the same time. One option is to support just one of them (newer??), or to load them dynamically (python3/dyn, python/dyn) but the first python plugin loaded dictates which python version is enabled for that particular vim process. I am just guessing that if the other version loading is triggered by a plugin, a vim process would just crash.
>
> Any help appreciated, thanks.
>
> kybu
>
>
>

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: