On Tue, Feb 26, 2019 at 8:59 AM INADA Naoki <songofaca...@gmail.com> wrote:
> > > > With *Homebrew*, `python` points to Homebrew’s Python 2.7.x (if > > installed) otherwise the macOS system Python. That's exactly according > > to the PEP. They tried to switch python to python3 before, and got > > rather nasty backlash citing PEP 394. I assume they will follow the PEP > > quite strictly from now on. > > > > I want to add note here. > When homebrew switched to python -> python3, node-gyp is broken. > It is very widely used tool for web developers. > > Since Google was very lazy about adding Python 3 to gyp, node-gyp > can't support Python 3 for a long time. > > But this situation is changing. Google added Python 3 support to gyp. > node-gyp project is working on Python 3 support for now. > > I think keeping PEP 394 as-is until node-gyp officially support Python 3 > would helps many web developers. > In practice, does what /usr/bin/python is even matter to node-gyp? I'd *hope* 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...]) node-gyp's got a great issue number for this: https://github.com/nodejs/node-gyp/issues/1337 -gps
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com