[webkit-dev] Python

Alicia Boya GarcĂ­a aboya at igalia.com
Mon Aug 14 03:39:23 PDT 2017


On 08/12/2017 11:40 PM, Ryosuke Niwa wrote:
> On Fri, Aug 11, 2017 at 8:06 AM, Michael Catanzaro
> <mcatanzaro at igalia.com> wrote:
>> On Mon, Aug 7, 2017 at 10:56 AM, Carlos Alberto Lopez Perez
>> <clopez at igalia.com> wrote:
>>>
>>> That's a good thing.
>>>
>>> I believe all Linux distros we support have this, right?
>>> And all the scripts actually assume python2.7 (AFAIK).
>>>
>>> Would it work for everyone having as shebang :
>>>
>>> #!/usr/bin/env python2.7
>>>
>>> ?
>>
>>
>> So this is by far the easiest solution of those that have been proposed. I
>> think we should try this as a stopgap until macOS is fixed to provide a
>> python2 binary.
> 
> What's wrong with using that as the permanent solution until we make
> it Python3 compatible?
> 
> I don't think it's wise to assume /usr/bin/python2 will be added on
> Mac anytime soon.
> 
> - R. Niwa
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
> 

+1, python2.7 is well supported among different systems.

It would be desirable to move to Python 3 eventually, but that's an
endeavor that should not be taken lightly, as many things can break in
subtle ways.

--
Alicia


More information about the webkit-dev mailing list