From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MpRQR-0003Vn-Ig for garchives@archives.gentoo.org; Sun, 20 Sep 2009 18:46:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8B070E08F7; Sun, 20 Sep 2009 18:46:18 +0000 (UTC) Received: from mail-pz0-f179.google.com (mail-pz0-f179.google.com [209.85.222.179]) by pigeon.gentoo.org (Postfix) with ESMTP id 5E8D8E08F7 for ; Sun, 20 Sep 2009 18:46:18 +0000 (UTC) Received: by pzk9 with SMTP id 9so31062pzk.2 for ; Sun, 20 Sep 2009 11:46:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=tXlvR/kWX5V5NvdFWuvtQ32cQNvHMVVnYvc2qHYMwOA=; b=AMKORRYqtgjDzZKllsZir4Zij2vyyOlmiArQSXYUX76BtrmkLjtJnjgOlXbc1THs9c wRBrICf2HYcrcldaaU3AfUJWeVdIwgnU/0s8tVmCviyhToa4qknBgNbb5ALk6uyTT+ho x52LZQjzRa6caaGxgpj9sjF4tTuYSzTANA3q4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=eAG8aNs6GxHAnj+vRiJKqzt3FPRlM0NVZU/bXFuoJaRnES9uk0F9dCx5jUUSQCcAZL +woo0C2gDW8vftTcUYeq1sjDhpmX1YIr0fWjRoLYHDt7v9EGzcbeQG/jCcfDdbbyv9c+ +APLhUGLKlaIBhU+c5uCfGwDCps2ESAPIHDXw= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Sender: nirbheek.chauhan@gmail.com Received: by 10.114.237.37 with SMTP id k37mr6973258wah.31.1253472377588; Sun, 20 Sep 2009 11:46:17 -0700 (PDT) In-Reply-To: <200909202027.34691.Arfrever@gentoo.org> References: <200909191848.33225.Arfrever@gentoo.org> <200909201935.08611.Arfrever@gentoo.org> <8b4c83ad0909201047t350ef158l8aca445789c910a4@mail.gmail.com> <200909202027.34691.Arfrever@gentoo.org> Date: Mon, 21 Sep 2009 00:16:17 +0530 X-Google-Sender-Auth: 5b303f2ae3081e94 Message-ID: <8b4c83ad0909201146n1579b3cax139f261eacbce6bb@mail.gmail.com> Subject: Re: [gentoo-dev] Stabilization of Python 3.1 From: Nirbheek Chauhan To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: b5c8a315-16f2-4bee-9860-967904ebc102 X-Archives-Hash: b5f572c7525a9fc78bb9e30168f671d9 On Sun, Sep 20, 2009 at 11:57 PM, Arfrever Frehtes Taifersar Arahesis wrote: > There is a difference between Python scripts and Python modules. > Yes, I'm well aware of the difference between them. [snip] > Python modules shouldn't have shebang. Python modules are intended to > be imported from Python scripts or other Python modules. Any shebang > in a Python module is ignored, when this module is imported using 'import' > statement. > You forget that the search path for both installs is different, and hence modules installed for python-3 cannot be found/used by scripts using python-2; which results in the dependency hell; which was the basis for my whole argument. > >> Seriously, if you *really* *really* want python-3 stable, it should: >> >> 1) NOT show up in `eselect python` to set as the default interpreter > > When a user wants to work for an hour with a script requiring Python 3, > and doesn't want to use e.g. Portage during this time, then it is > reasonable to run 'eselect python set python3.1' once and be able > to just use './script.py' instead of having to type 'python3.1 script.py' > every time. Next this user can switch active Python back to 2.6. > The user would rather just edit the shebang for an hour rather than become root, eselect and get back. Only us weird system-fudgers always have a root shell running, most people rarely do. >> 2) NOT be a dependency of any package in stable > > It isn't implementable without having to change dependencies in hundreds > of packages. There is nothing wrong in having Python 3 installed which > would use small amount of disk space. > You're twisting what I mean. You know what I mean -- packages *needing* python-3. -- ~Nirbheek Chauhan GNOME+Mozilla Team, Gentoo