Guenter Milde wrote:

> On 2014-04-22, Pavel Sanda wrote:
>> José Matos wrote:
> 
>>> Before proceeding with the changes we should add tests to guarantee
>>> that the code works as intended on both versions.
> 
>>> I do not intend to work on this until the end of the semester (mid
>>> June FWIW) but I would like to start the discussion here.
> 
>> The more versions supported the bigger maintenance burden. I would
>> think twice whether we should simply switch just to python 3. (I hope x
>> in 3.x doesn't matter much, right?)

This is the key question IMHO: If 3.2.1 is usable, I'd simply go for python 
3 only, and require at least 3.2.1 (it is old enough). This is no problem on 
any current and not so current linux distribution, not on windows (we ship 
our own python), adn neither on OS X (AFAIK, correct me if I am wrong).

> I also vote for keeping compatibility with both 2.7 and 3.x (x >=3) for
> the next couple of LyX versions:
> 
> * There are still a lot of installations, where
>   2.7 (or older) is the default Python version.

Which version is default does not matter IMHO: The same code that currently 
selects python 2 if both are avbaiable can be used to select python 3.

> * As we can have one common source for both major versions, the added
> burden
>   is managable.

It is still a burden, and if you don't test regularily with both version 
then bugs _will_ occur.


Georg

Reply via email to