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

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



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:

http://docs.python.org/using/cmdline.html#environment-variables

Thomas


Reply to: