[Python-checkins] cpython (2.7): Closes #21026: Augment site doc based on experiments. Patch by Carol Willing.

terry.reedy python-checkins at python.org
Tue Apr 29 06:33:14 CEST 2014


http://hg.python.org/cpython/rev/79a4560a702f
changeset:   90497:79a4560a702f
branch:      2.7
parent:      90487:6e23afdee4e4
user:        Terry Jan Reedy <tjreedy at udel.edu>
date:        Tue Apr 29 00:31:46 2014 -0400
summary:
  Closes #21026: Augment site doc based on experiments. Patch by Carol Willing.

files:
  Doc/library/site.rst |  6 +++++-
  Misc/ACKS            |  1 +
  2 files changed, 6 insertions(+), 1 deletions(-)


diff --git a/Doc/library/site.rst b/Doc/library/site.rst
--- a/Doc/library/site.rst
+++ b/Doc/library/site.rst
@@ -83,7 +83,11 @@
 :mod:`sitecustomize`, which can perform arbitrary site-specific customizations.
 It is typically created by a system administrator in the site-packages
 directory.  If this import fails with an :exc:`ImportError` exception, it is
-silently ignored.
+silently ignored.  If Python is started without output streams available, as
+with :file:`pythonw.exe` on Windows (which is used by default to start IDLE),
+attempted output from :mod:`sitecustomize` is ignored. Any exception other
+than :exc:`ImportError` causes a silent and perhaps mysterious failure of the
+process.
 
 .. index:: module: usercustomize
 
diff --git a/Misc/ACKS b/Misc/ACKS
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1421,6 +1421,7 @@
 Jason Williams
 John Williams
 Sue Williams
+Carol Willing
 Steven Willis
 Frank Willison
 Geoff Wilson

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list