[Patches] [ python-Patches-442863 ] Add switch to disable PYTHON{HOME,PATH}

noreply@sourceforge.net noreply@sourceforge.net
Thu, 19 Jul 2001 13:37:20 -0700


Patches item #442863, was opened at 2001-07-19 12:40
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=442863&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Neil Schemenauer (nascheme)
>Assigned to: Neil Schemenauer (nascheme)
Summary: Add switch to disable PYTHON{HOME,PATH}

Initial Comment:
This patch adds the -E command line switch.  When
specified, the PYTHONHOME and PYTHONPATH environment
variables are ignored.


----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2001-07-19 13:37

Message:
Logged In: YES 
user_id=6380

Cool, Neil!

Nits: 

- The Makefile uses "-Ec" somewhere; I recommend to use "-E
-c" instead.

- Does -E suppress PYTHONSTARTUP or doesn't it?  The
comments are inconsistent with the help message.  I think it
should suppress *all* use of Python-specific environment
variables.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=442863&group_id=5470