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 1Mw00P-0003ZF-78 for garchives@archives.gentoo.org; Thu, 08 Oct 2009 20:54:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4C0FBE0A95; Thu, 8 Oct 2009 20:54:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 29534E0A95 for ; Thu, 8 Oct 2009 20:54:31 +0000 (UTC) Received: from afta-gentoo.localnet (ip-85-198-235-97.broker.com.pl [85.198.235.97]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 9A0726485F for ; Thu, 8 Oct 2009 20:54:30 +0000 (UTC) From: Arfrever Frehtes Taifersar Arahesis To: Gentoo Development Subject: Re: [gentoo-dev] Stabilization of Python 3.1 Date: Thu, 8 Oct 2009 22:56:47 +0200 User-Agent: KMail/1.12.1 (Linux/2.6.31-tuxonice-AFTA; KDE/4.3.1; x86_64; ; ) References: <200909191848.33225.Arfrever@gentoo.org> <200909202027.34691.Arfrever@gentoo.org> <8b4c83ad0909201146n1579b3cax139f261eacbce6bb@mail.gmail.com> In-Reply-To: <8b4c83ad0909201146n1579b3cax139f261eacbce6bb@mail.gmail.com> 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 Content-Type: multipart/signed; boundary="nextPart22020807.DvvrmGzrmp"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200910082256.53562.Arfrever@gentoo.org> X-Archives-Salt: 3ed7d650-c3c4-495f-9f22-c57401e42ad2 X-Archives-Hash: 2fd78c3285bff601f3775c9a252a5790 --nextPart22020807.DvvrmGzrmp Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 2009-09-20 20:46:17 Nirbheek Chauhan napisa=C5=82(a): > On Sun, Sep 20, 2009 at 11:57 PM, Arfrever Frehtes Taifersar Arahesis > wrote: > > There is a difference between Python scripts and Python modules. > > >=20 > Yes, I'm well aware of the difference between them. >=20 > [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 'impo= rt' > > statement. > > >=20 > 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. When both Python 2 and Python 3 are installed, then Python modules, which support both Python 2 and Python 3, are automatically installed for both Python 2 and Python 3. =2D-=20 Arfrever Frehtes Taifersar Arahesis --nextPart22020807.DvvrmGzrmp Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (GNU/Linux) iEYEABECAAYFAkrOUhUACgkQIEGVSeBq/j6wGgCfUQE49QLnniIlb5yQ2jIWaPXE tkYAoIiqoEUYIpdrk+zGUHBmg+zk18sS =Q0Nr -----END PGP SIGNATURE----- --nextPart22020807.DvvrmGzrmp--