[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ANN: Frescobaldi 2.19.0
From: |
Noeck |
Subject: |
Re: ANN: Frescobaldi 2.19.0 |
Date: |
Sat, 23 Apr 2016 22:09:55 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
Hi,
print 'foo' vs. print('foo') is usually the most frequent difference and
writing code for a 'common subset' in most cases requires at least some
from __future__ imports to ensure compatibility.
However, the 2to3 tool is handy and there are very sane and good
guidelines for porting python code:
https://docs.python.org/3/howto/pyporting.html and also for writing code
for both 2 and 3. The baseline is: Port your code to 2.7 before.
IMHO, there is no reason not to support Python 2.7. Python 2.4 is from
2004. What would people on this list say if such old LilyPond versions
were still in use and questions were appearing on lilypond-user!?
Ubuntu urges contributors that new code should be written in python 3.
So, I would say 2.7 is the conservative approach and should be well
supported. Most distributions are working towards python 3 and now or
quite soon it will be preferred over python 2.
Cheers,
Joram
- Re: ANN: Frescobaldi 2.19.0, (continued)
- Re: ANN: Frescobaldi 2.19.0, Henning Hraban Ramm, 2016/04/22
- Re: ANN: Frescobaldi 2.19.0, Federico Bruni, 2016/04/22
- Re: ANN: Frescobaldi 2.19.0, Andrew Bernard, 2016/04/22
- Re: ANN: Frescobaldi 2.19.0, Paul Morris, 2016/04/22
- Re: ANN: Frescobaldi 2.19.0, Andrew Bernard, 2016/04/22
- Re: ANN: Frescobaldi 2.19.0, Martin Tarenskeen, 2016/04/23
- Re: ANN: Frescobaldi 2.19.0, Federico Bruni, 2016/04/23
- Re: ANN: Frescobaldi 2.19.0, Andrew Bernard, 2016/04/23
- Re: ANN: Frescobaldi 2.19.0, David Kastrup, 2016/04/23
- Re: ANN: Frescobaldi 2.19.0,
Noeck <=
- Re: ANN: Frescobaldi 2.19.0, David Wright, 2016/04/23
Re: ANN: Frescobaldi 2.19.0, Federico Bruni, 2016/04/23
Re: ANN: Frescobaldi 2.19.0, Davide Liessi, 2016/04/23
Re: ANN: Frescobaldi 2.19.0, Steve Noland, 2016/04/22
Re: ANN: Frescobaldi 2.19.0, Villum Sejersen, 2016/04/24