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 _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user