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

Re: #! /usr/bin/python{,3} -Es



On Fri, Oct 26, 2012 at 11:03:34AM +0100, Thomas Kluyver wrote:
> On 26 October 2012 09:19, Floris Bruynooghe <flub@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?
> 
> 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.

> 
> http://docs.python.org/using/cmdline.html#environment-variables
> 
> Thomas
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-python-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/CAOvn4qjiW6VicuZnT-CdQnESXkVMc0kO4pVGCV_3vLwx=nDREg@mail.gmail.com
> 

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

Attachment: signature.asc
Description: Digital signature


Reply to: