A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-January/097330.html below:

[Python-Dev] PYTHON3PATH

[Python-Dev] PYTHON3PATHJared Grubb jared.grubb at gmail.com
Wed Jan 13 23:56:37 CET 2010
On 13 Jan 2010, at 13:43, Nick Coghlan wrote:
> Guido van Rossum wrote:
>> On Wed, Jan 13, 2010 at 9:57 AM, ssteinerX at 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.

I raised a question about these PYTHON3* variables once before in a discussion about shebang lines:
http://www.mailinglistarchive.com/python-dev@python.org/msg29500.html

I'm not advocating them, but just wanted to make sure to bring up the shebang use case.

Jared
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4