<div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 26, 2019 at 8:59 AM INADA Naoki <<a href="mailto:songofacandy@gmail.com">songofacandy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">><br>
> With *Homebrew*, `python` points to Homebrew’s Python 2.7.x (if<br>
> installed) otherwise the macOS system Python. That's exactly according<br>
> to the PEP. They tried to switch python to python3 before, and got<br>
> rather nasty backlash citing PEP 394. I assume they will follow the PEP<br>
> quite strictly from now on.<br>
><br>
<br>
I want to add note here.<br>
When homebrew switched to python -> python3, node-gyp is broken.<br>
It is very widely used tool for web developers.<br>
<br>
Since Google was very lazy about adding Python 3 to gyp, node-gyp<br>
can't support Python 3 for a long time.<br>
<br>
But this situation is changing.  Google added Python 3 support to gyp.<br>
node-gyp project is working on Python 3 support for now.<br>
<br>
I think keeping PEP 394 as-is until node-gyp officially support Python 3<br>
would helps many web developers.<br></blockquote><div><br></div><div>In practice, does what /usr/bin/python is even matter to node-gyp?  I'd <i>hope</i> that it would refer to /usr/bin/python2.7... (does anyone use something as modern as node.js on a system with python 2 but without /usr/bin/python2.7? [i probably don't want to know the answer to that...])</div><div><br></div><div>node-gyp's got a great issue number for this: <a href="https://github.com/nodejs/node-gyp/issues/1337">https://github.com/nodejs/node-gyp/issues/1337</a></div><div><br></div><div>-gps</div></div></div></div>