]> granicus.if.org Git - python/commitdiff
Closes #21026: Augment site doc based on experiments. Patch by Carol Willing.
authorTerry Jan Reedy <tjreedy@udel.edu>
Tue, 29 Apr 2014 04:31:46 +0000 (00:31 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Tue, 29 Apr 2014 04:31:46 +0000 (00:31 -0400)
Doc/library/site.rst
Misc/ACKS

index c45093111b47359c3cb0216b42db17278be9867a..de3f7517b87f799833af51e2ebea23c72bc30cd0 100644 (file)
@@ -83,7 +83,11 @@ After these path manipulations, an attempt is made to import a module named
 :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
 
index 81d4aa9cc8a6bb3e1cb39b6dff2647bf527a0d0a..2d0862754982655e86964eea5cce4cf615b42b80 100644 (file)
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1421,6 +1421,7 @@ Gerald S. Williams
 Jason Williams
 John Williams
 Sue Williams
+Carol Willing
 Steven Willis
 Frank Willison
 Geoff Wilson