Guido van Rossum wrote:
> On Wed, Jan 13, 2010 at 9:57 AM, sstein...@gmail.com > Or, how about
> just removing the antiquated use of environment variables altogether
> from Python 3 and avoid the issue completely.
> 
> -1. They have their use, but more in controlled situations. If you
> have "global" env vars that you only want to use with Python 2.x,
> write a wrapper for Python 3 that invokes it with -E.

Perhaps a case can be made for Python 3 to assume -E by default, with a
-e option to enable reading of the environment variables?

That way naive users could run Python3 without tripping over existing
Python2 environment variables, while other tools could readily set up a
different environment before launching Python3.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to