68964Re: [RFC] Adding alias command to ease supporting Python 2 and 3.
- Apr 4, 2013--You're right, but...
Actually it doesn't. Python 2 and 3 are not compatible. You can't use
:python without knowing what version it is.These days, many Python libraries support both of Python 2 and 3 in one source.For those, Python 2 and 3 are compatible at some level.Jedi-vim uses alias command like this:But, user defined commands can't be script/plugin local.So having standard command like it is good idea.
Therefore :python will
always mean Python 2. Otherwise some percentage of the scripts will
just not work.If vim is build with -python +python3, those script just not work, too.So, :python fallback to python3 doesn't break any scripts.--
INADA Naoki <songofacandy@...>
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
For more options, visit https://groups.google.com/groups/opt_out.
- << Previous post in topic Next post in topic >>