From: Andrew Svetlov Date: Wed, 17 Oct 2012 14:14:28 +0000 (+0300) Subject: Issue #9583: Document startup option/environment interaction. X-Git-Tag: v2.7.4rc1~474 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f892597eb5b27b4b0d8a741c663360c79ae371e2;p=thirdparty%2FPython%2Fcpython.git Issue #9583: Document startup option/environment interaction. Patch by Todd Rovito. --- diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index 2537c485718a..f99060bd57f5 100644 --- a/Doc/using/cmdline.rst +++ b/Doc/using/cmdline.rst @@ -442,7 +442,10 @@ Options you shouldn't use Environment variables --------------------- -These environment variables influence Python's behavior. +These environment variables influence Python's behavior, they are processed +before the command-line switches other than -E. It is customary that +command-line switches override environmental variables where there is a +conflict. .. envvar:: PYTHONHOME @@ -638,4 +641,3 @@ if Python was configured with the ``--with-pydebug`` build option. If set, Python will print memory allocation statistics every time a new object arena is created, and on shutdown. - diff --git a/Misc/ACKS b/Misc/ACKS index 63ef470be896..ecd52e0bf60a 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -832,6 +832,7 @@ Hugo van Rossum Saskia van Rossum Donald Wallace Rouse II Liam Routt +Todd Rovito Craig Rowland Clinton Roy Paul Rubin