diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2014-04-29 04:31:53 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2014-04-29 04:31:53 (GMT) |
commit | 43e7cd38e50a0f63362768e3009ba515c8a475d7 (patch) | |
tree | f404adb9e4ed250cc08cc021eb96c169574e0f91 /Doc | |
parent | f9f54a2f5f25973f736046917d68106dd122c15d (diff) | |
download | cpython-43e7cd38e50a0f63362768e3009ba515c8a475d7.zip cpython-43e7cd38e50a0f63362768e3009ba515c8a475d7.tar.gz cpython-43e7cd38e50a0f63362768e3009ba515c8a475d7.tar.bz2 |
Issue #21026: Augment site doc based on experiments. Patch by Carol Willing.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/site.rst | 6 |
1 files changed, 5 insertions, 1 deletions
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 |