[Python-checkins] r74533 - in python/trunk: Doc/install/index.rst Misc/NEWS

tarek.ziade python-checkins at python.org
Fri Aug 21 16:11:26 CEST 2009


Author: tarek.ziade
Date: Fri Aug 21 16:11:26 2009
New Revision: 74533

Log:
Fixed #6556: Corrected doc on how Distutils looks for its user configuration file under Windows

Modified:
   python/trunk/Doc/install/index.rst
   python/trunk/Misc/NEWS

Modified: python/trunk/Doc/install/index.rst
==============================================================================
--- python/trunk/Doc/install/index.rst	(original)
+++ python/trunk/Doc/install/index.rst	Fri Aug 21 16:11:26 2009
@@ -706,7 +706,8 @@
 (2)
    On Unix, if the :envvar:`HOME` environment variable is not defined, the user's
    home directory will be determined with the :func:`getpwuid` function from the
-   standard :mod:`pwd` module.
+   standard :mod:`pwd` module. This is done by the :func:`os.path.expanduser`
+   function used by Distutils.
 
 (3)
    I.e., in the current directory (usually the location of the setup script).
@@ -721,9 +722,10 @@
    1.5.2 installation under Windows.
 
 (5)
-   On Windows, if the :envvar:`HOME` environment variable is not defined, no
-   personal configuration file will be found or used.  (In other words, the
-   Distutils make no attempt to guess your home directory on Windows.)
+   On Windows, if the :envvar:`HOME` environment variable is not defined,
+   :envvar:`USERPROFILE` then :envvar:`HOMEDRIVE` and :envvar:`HOMEPATH` will
+   be tried. This is done by the :func:`os.path.expanduser` function used
+   by Distutils.
 
 
 .. _inst-config-syntax:

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Fri Aug 21 16:11:26 2009
@@ -1783,6 +1783,9 @@
 Documentation
 -------------
 
+- Issue #6556: Fixed the Distutils configuration files location explanation
+  for Windows.
+
 - Issue #2235: the C API function PyObject_HashNotImplemented and its
   interaction with the tp_hash slot (added in 2.6b2) are now documented
 


More information about the Python-checkins mailing list