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

Re: Please install /usr/bin/python2



Scott, I booted up a CentOS 6.4 VM, and the symlink is there (runs python2.6). I'd be interested to know if there are any other systems where it's unavailable though.

- Kerrick


On Sat, Sep 14, 2013 at 2:23 PM, Scott Kitterman <debian@kitterman.com> wrote:


Kerrick Staley <kerrick@kerrickstaley.com> wrote:
>What's not included in "some newer releases" here? /usr/bin/python2 has
>been present on all systems I've used except Debian.
>
>- Kerrick

It looks to me like the latest Centos ships with python2.6 and /usr/bin/python2 only shipped with 2.7.

Scott K


>
>On Sat, Sep 14, 2013 at 9:25 AM, Scott Kitterman
><debian@kitterman.com>wrote:
>
>>
>>
>> Kerrick Staley <kerrick@kerrickstaley.com> wrote:
>> >Thanks!
>> >
>> >The upstream recommendation (from PEP 394 [1]) is that, going
>forward,
>> >portable scripts *can't* assume python is python2, and *should* use
>> >python2.
>> >
>> >- Kerrick
>> >
>> >[1] http://www.python.org/dev/peps/pep-0394/
>>
>> I'm very familiar with it.
>>
>> Now we get to Arch is insane.
>>
>> They've put developers in a difficult spot.  They have to choose
>between
>> /usr/bin/python2 and works on Arch and some newer releases and
>> /usr/bin/python and works everywhere except Arch.
>>
>> The only suggestion I can make is that it's generally not that hard
>for
>> new code to make it work for both python2.7 and python3.3.  Then
>there's no
>> need to care.
>>
>> Scott K


--
To UNSUBSCRIBE, email to debian-python-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] cd5aef27-a8e2-4675-b22a-51a72a63791d@email.android.com" target="_blank">http://lists.debian.org/[🔎] cd5aef27-a8e2-4675-b22a-51a72a63791d@email.android.com



Reply to: