From 43e7cd38e50a0f63362768e3009ba515c8a475d7 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Tue, 29 Apr 2014 00:31:53 -0400 Subject: Issue #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 deletion(-) diff --git a/Doc/library/site.rst b/Doc/library/site.rst index 2fdf303..e57b8cc 100644 --- a/Doc/library/site.rst +++ b/Doc/library/site.rst @@ -99,7 +99,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 diff --git a/Misc/ACKS b/Misc/ACKS index 6064bfd..129e0a4 100644 --- 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 -- cgit v0.12