From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: Re: Python 3 binaries Date: Sun, 01 Sep 2013 19:40:18 +0200 Message-ID: <52237C02.1090301@gmail.com> References: <20130831153018.GA5442@debian> <5222282D.7000801@gmail.com> <20130901092817.GA19604@debian> <87d2osoczg.fsf@gnu.org> <20130901143907.GA23394@debian> <87k3j0igz8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGBxk-0003X0-Oo for guix-devel@gnu.org; Sun, 01 Sep 2013 14:01:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VGBxc-0004sM-BP for guix-devel@gnu.org; Sun, 01 Sep 2013 14:01:24 -0400 In-Reply-To: <87k3j0igz8.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?UTF-8?B?THVkb3ZpYyBDb3VydMOocw==?= Cc: guix-devel@gnu.org On 09/01/2013 07:34 PM, Ludovic Courtès wrote: > However, my understanding from what Cyril and Brandon said is that users > may prefer to have it called ‘python3’ by default, so they can install > both Python 2 and Python 3 in parallel. Furthermore, they can choose to > have (say) an alias python=python3 if that’s what they want. > > Based on that, I thought the wrapper would be mostly for internal > consumption. > > Did I get it right? On Debian: $ ls -l $(which python) lrwxrwxrwx 1 root root 9 May 6 02:58 /usr/bin/python -> python2.7 $ ls -l $(which python3) lrwxrwxrwx 1 root root 9 Aug 18 18:12 /usr/bin/python3 -> python3.3 Packages usually exist in two different versions: python-foo and python3-foo. I think this is quite a good way of packaging both Python 2 and 3. One day, maybe nobody will use Python 2.x any more, and we'll just use "python" instead of "python3", but until then, I'm really happy to have "python" and "python3". Cyril.