Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion #! /usr/bin/python{,3} -Es

Received: by 10.180.97.162 with SMTP id eb2mr1689211wib.0.1351480635112;
        Sun, 28 Oct 2012 20:17:15 -0700 (PDT)
Path: q13ni92311wii.0!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.85.MISMATCH!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nrc-news.nrc.ca!goblin1!goblin.stu.neva.ru!news.mixmin.net!newsfeed.x-privat.org!bofh.it!news.nic.it!robomod
From: Paul Tagliamonte <paul...@debian.org>
Newsgroups: linux.debian.maint.python
Subject: Re: #! /usr/bin/python{,3} -Es
Date: Fri, 26 Oct 2012 15:30:03 +0200
Message-ID: <jYS95-3GP-15@gated-at.bofh.it>
References: <jYx4B-2Jo-3@gated-at.bofh.it> <jYAlQ-6Tb-15@gated-at.bofh.it> <jYBrz-8bP-11@gated-at.bofh.it> <jYNsK-6iY-17@gated-at.bofh.it> <jYP1w-8pp-17@gated-at.bofh.it>
X-Original-To: Thomas Kluyver <tho...@kluyver.me.uk>
Old-Return-Path: <paul...@gmail.com>
X-Amavis-Spam-Status: No, score=-12.679 tagged_above=-10000 required=5.3
	tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	FREEMAIL_FROM=0.001, FVGT_m_MULTI_ODD=0.02, LDO_WHITELIST=-5,
	PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
X-Policyd-Weight: using cached result; rate: -7
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=sender:date:from:to:cc:subject:message-id:references:mime-version
         :content-type:content-disposition:in-reply-to:user-agent;
        bh=h24ClhuwrECrj4NBmzKtKVObqVcARlN+ldB6SGrHls8=;
        b=zDNPfvo5evCg6ukfwkuikcdIxRizx51Ze3ZR9bFkmA5yxVdW4RXtTaMcR5/BN0Ok9s
         zO595BE67o5o1QxkhkP/UXPyrZpegKnWRAeT6KoYLi+01YlIAFxKGg8cwxQfyHQHhvAO
         chxX32EY5PTqa/p1uPIobLzU0fi1G6BcuVJPmKicrTmLhlw3TOH0lYE1AhDknbmRyiVX
         y0htI0YOpnbjZy6Xma/RZloukz1PGbt7czUi/yVfb5Ig1iwXgGtDXKi+Vvu8a9L9b41j
         ORbO3fI/JZh1t0hMw2knVZAV8yh+IR5waWxpoZt+g9PQG0jWt7zDtPgqGhkrTYmaYND7
         cglw==
Sender: robo...@news.nic.it
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="BwCQnh7xodEAoBMC"
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Mailing-List: <debian-pyt...@lists.debian.org> archive/latest/9266
List-ID: <debian-python.lists.debian.org>
List-URL: <http://lists.debian.org/debian-python/>
Approved: robo...@news.nic.it
Lines: 72
Organization: linux.* mail to news gateway
X-Original-Cc: debian-python <debian-pyt...@lists.debian.org>
X-Original-Date: Fri, 26 Oct 2012 09:20:25 -0400
X-Original-Message-ID: <20121026132025.GB3443@chayot>
X-Original-References: <20121025105605.1b1fe5bf@resist>
 <20121025181857.GA20...@virgil.dodds.net>
 <20121025193418.GC8...@piotro.eu>
 <CAAWk_Dy4yXr4Xvksw7V6Sc-SYg+3mBZroCqDXnoq1kNF=YU...@mail.gmail.com>
 <CAOvn4qjiW6VicuZnT-CdQnESXkVMc0kO4pVGCV_3vLwx=nD...@mail.gmail.com>
X-Original-Sender: "Paul R. Tagliamonte" <paul...@gmail.com>


--BwCQnh7xodEAoBMC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Oct 26, 2012 at 11:03:34AM +0100, Thomas Kluyver wrote:
> On 26 October 2012 09:19, Floris Bruynooghe <f...@devork.be> wrote:
> > Several people have said they don't think this is a good idea.  But
> > why not?  There is a bad effect if you don't rewrite the shebang to
> > "/usr/bin/python[3] -ES" that we know of, but is there any example of
> > where such a shebang line would cause trouble that warrants not doing
> > this by default?
>=20
> Are there any situations where you might want to run a system script
> with modified Python environment variables? I can't think of any off
> the top of my head. Here's the list of environment variables:

django-admin if I'm using a virtualenv? Perhaps I'm missing the point?
Will this just break all virtualenv support?

If so, I'm not keen on that.

>=20
> http://docs.python.org/using/cmdline.html#environment-variables
>=20
> Thomas
>=20
>=20
> --=20
> To UNSUBSCRIBE, email to debian-python-REQU...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian=
=2Eorg
> Archive: http://lists.debian.org/CAOvn4qjiW6VicuZnT-CdQnESXkVMc0kO4pVGCV_=
3vLwx=3DnD...@mail.gmail.com
>=20

--=20
 .''`.  Paul Tagliamonte <paul...@debian.org>
: :'  : Proud Debian Developer
`. `'`  4096R / 8F04 9AD8 2C92 066C 7352  D28A 7B58 5B30 807C 2A87
 `-     http://people.debian.org/~paultag

--BwCQnh7xodEAoBMC
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJQio4ZAAoJEHtYWzCAfCqHA3IQAIJjeMd38pz/99Fva6/g1q+Z
0DTHoLa9KKlPrXi1hwlkH2Bb1/Q5KzVSeoP9wJ+Oq5HoHtVT72y3vSs0LgM74bwS
6zdqLjI8C7WN5MOETeaK0nRDS9/6gUVjEUifmR06ZDW+w6vbxTHSA3yzql5yI42h
48QEoPbtJtOKpIZPQy8xij3cZMR1SNA73Kje/lucX+V/bsaYM0pJnizjIHTAIOPb
/TTVryr+b0ovFbYvFsPmOcorYS4FJupq16Hz8XQ5IVkCL29ZUtXzRTJjc9/dR/Kk
UKeTZ3prKpPOWjOHMS6p8unL0AIfOpq/nkSyO/QGIQpYx1JtTjlPU7uaZdgnOcDt
KFqQCx5uDIHi66szRoXpGLTDgaiG663/1R5Wyl+Go3bkck8ImEVy9N1gjPM/fLzK
n/3CfQd5hakjL0AC3NHPh+/E7fYkdD6fpf/Pvi7d7PZ31nqOQIDlceYxfwIVxhW1
jxNCkTCGqwY+EtoPWUmIhFtkKp0xU4nHtqKHRxM7MxXmwg11cJELyKCesZApGgNL
7PfbCWEINSNO3LglqWq79xeGLuOFYMRlqvtM+5hY5qTCaGg3ReI4xJCO0LU5/e1q
M2k1y9I5zlZy5eAZOIuXj+MELZogXcRrvjKiJb/pVO5TTZT0YAIx/Wh12wKQMUg1
n+xuanE0oicP54SmYrH8
=3/25
-----END PGP SIGNATURE-----

--BwCQnh7xodEAoBMC--


-- 
To UNSUBSCRIBE, email to debian-python-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121026132025.GB3443@chayot