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

Re: PyCon BoF: Stretch goals for cPython, PyPy & CFFI



On Apr 14, 2015, at 01:57 AM, Matthias Klose wrote:

>#! /bin/sh
>python=$(shuffle /usr/bin/python2 /usr/bin/python3)
>exec $python "$@"

That was more or less the joke I made at the Pycon Language Summit.  It's too
twisted *not* to implement. :)

But the idea of a (perhaps less perverse) launcher would solve the PEP 394
dilemma of what /usr/bin/python should point to when there's no Python 2 on
the system by default.  E.g. maybe it reads a configuration file to determine
whether it runs /usr/bin/python2 or /usr/bin/python3.

Cheers,
-Barry


Reply to: