[email protected] schrieb am 23.09.2009 16:33:27:
>
> Roland Puntaier wrote:
>
> > > In the source code changes I notice you now define FEAT_PYTHON3, but
> > > there is no FEAT_PYTHON2. I would think we need both, since we can
have
> > > Vim with:
> > > - only Python 2 (current situation)
> > > - only Python 3 (future)
> > > - both Python 2 and 3
> >
> > FEAT_PYTHON corresponds to FEAT_PYTHON2. You could rename it.
>
> Aren't there multiple places with
>
> #if defined(FEAT_PYTHON) || defined(FEAT_PYTHON3)
>
> I think having FEAT_PYTHON for any version avoids confusion.
Actually I found only two places where we have something like that.
I'd rather regard them as two separate interpreters, just like
there is FEAT_PYTHON and FEAT_PERL, there can be FEAT_PYTHON and
FEAT_PYTHON3.
OK one could rename FEAT_PYTHON to FEAT_PYTHON2, but I think that is not a
good idea either.
FEAT_PYTHON corresponds to the PYTHON make variable or the vim
has("python"),
and to change any would not be backward compatible to existing build
scripts (like in gentoo)
or vim scripts.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---