[Python-checkins] cpython (2.7): Issue #9583: Document startup option/environment interaction.
andrew.svetlov
python-checkins at python.org
Wed Oct 17 16:33:42 CEST 2012
http://hg.python.org/cpython/rev/2f812212599b
changeset: 79794:2f812212599b
branch: 2.7
parent: 79780:7e879a453bb3
user: Andrew Svetlov <andrew.svetlov at gmail.com>
date: Wed Oct 17 17:14:28 2012 +0300
summary:
Issue #9583: Document startup option/environment interaction.
Patch by Todd Rovito.
files:
Doc/using/cmdline.rst | 6 ++++--
Misc/ACKS | 1 +
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -442,7 +442,10 @@
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 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
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -832,6 +832,7 @@
Saskia van Rossum
Donald Wallace Rouse II
Liam Routt
+Todd Rovito
Craig Rowland
Clinton Roy
Paul Rubin
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list