[Python-checkins] cpython (2.7): Closes #21026: Augment site doc based on experiments. Patch by Carol Willing.
python-checkins at python.org
Tue Apr 29 06:33:14 CEST 2014
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Tue Apr 29 00:31:46 2014 -0400
Closes #21026: Augment site doc based on experiments. Patch by Carol Willing.
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
@@ -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. 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
.. index:: module: usercustomize
diff --git a/Misc/ACKS b/Misc/ACKS
@@ -1421,6 +1421,7 @@
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins