diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2014-04-29 04:31:46 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2014-04-29 04:31:46 (GMT) |
commit | 0fe1d0a59776d43f01879c1d39e21d17d80ad799 (patch) | |
tree | 0ca37652275c2b11b66e4e0d8738fa3f0f3529c4 | |
parent | b7967ccb402d59a9652d0bc6bd80751d4d59ee1e (diff) | |
download | cpython-0fe1d0a59776d43f01879c1d39e21d17d80ad799.zip cpython-0fe1d0a59776d43f01879c1d39e21d17d80ad799.tar.gz cpython-0fe1d0a59776d43f01879c1d39e21d17d80ad799.tar.bz2 |
Closes #21026: Augment site doc based on experiments. Patch by Carol Willing.
-rw-r--r-- | Doc/library/site.rst | 6 | ||||
-rw-r--r-- | Misc/ACKS | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Doc/library/site.rst b/Doc/library/site.rst index c450931..de3f751 100644 --- a/Doc/library/site.rst +++ b/Doc/library/site.rst @@ -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 @@ -1421,6 +1421,7 @@ Gerald S. Williams Jason Williams John Williams Sue Williams +Carol Willing Steven Willis Frank Willison Geoff Wilson |