lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Python 3, was Re: ANN: Frescobaldi 2.19.0


From: David Kastrup
Subject: Re: Python 3, was Re: ANN: Frescobaldi 2.19.0
Date: Sun, 24 Apr 2016 13:00:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Werner LEMBERG <address@hidden> writes:

>> So far we only have an offer for a hard and incompatible transition
>> to Python3-only
>
> Actually, I dislike this.  Similar to you, I don't see a convincing
> reason to not write python code that is compatible with both version 2
> and version 3.

Well, #!/usr/bin/guile can mean either Guile-1 and Guile-2 whereas
#!/usr/bin/python is more or less guaranteed to mean Python-2 for quite
a bit of time, even while there may be only Python-3 available at some
point of time.

So it does look like we are in for a hard change with regard to
distributed LilyPond versions anyway.  However, the configure process
very well could substitute address@hidden@ (most installed scripts) as
well as address@hidden@ (the build scripts) with either a Python-2 or a
Python-3 hashbang, depending on availability/configuration of either
option.

So we definitely have a use case for supporting both: then a choice can
be made by scripts or user at configure time.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]