I think I've found the Debian discussion (October 2012):
http://comments.gmane.org/gmane.linux.debian.devel.python/8188
Lack of PYTHONWARNINGS was brought up late in the discussion thread
but I think the understanding that when a particular user sets an
environment variable they want it to apply to all scripts they run was
kind of lost in the followups (It wasn't directly addressed or
mentioned again.)
-Toshio
On Thu, Mar 19, 2015 at 12:27 PM, Barry Warsaw
On Mar 19, 2015, at 11:15 AM, Toshio Kuratomi wrote:
I could see that as a difference. However, the environment variables give users the ability to change things globally whereas overriding the shebang line is case-by-case so it's not a complete replacement of the functionality.
You make some good points. I guess it's a trade-off between flexibility and a known secure execution environment. I'm not sure there's a right answer; different admins might have valid different opinions.
Cheers, -Barry
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/a.badger%40gmail.com